Nearest named color · #797825
#797825
Nearest named color: Green Commando
#797825 (rgb(121 120 37), hsl(59 53% 31%), oklch(0.557 0.103 108.7)) is closest to the named color Green Commando. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#797825
oklch(0.557 0.103 108.7)
Color conversions
- HEX
- #797825
- RGB
- rgb(121 120 37)
- HSL
- hsl(59 53% 31%)
- HWB
- hwb(59 15% 53%)
- OKLCH
- oklch(0.557 0.103 108.7)
- OKLab
- oklab(0.557 -0.033 0.098)
- CIE Lab
- lab(49.29 -7.61 43.42)
- LCH
- lch(49.29 44.08 99.9)
- CMYK
- cmyk(0% 1% 69% 53%)
Tints · Shades · Tones
Tints
- 85853F
- 929255
- 9F9F6A
- ACAD7F
- B9BA94
- C7C8A9
- D5D5BE
- E2E3D4
- F1F1E9
Shades
- 68671F
- 585719
- 484813
- 39390D
- 2B2A08
- 1D1D04
- 101002
- 050500
- 010100
Tones
- 7A7932
- 7A7A3D
- 7B7B47
- 7B7C50
- 7C7D59
- 7D7D61
- 7E7E69
- 7E7F71
- 7F7F78
Color harmonies
Complementary +180°
- 797825
Green Commando
- 7269AC
≈ Clear Mauve
Analogous -30° +30°
- 797825
Green Commando
- 946B1F
≈ Armageddon Dunes
- 538245
≈ Guinean Green
Triadic +120° +240°
- 797825
Green Commando
- 177EA3
≈ Kingfisher Sheen
- A0597E
≈ Feminism
Split-complementary +150° +210°
- 797825
Green Commando
- 4D74B0
≈ Ramjet
- 8D5F9A
≈ Aster Violetta
Tetradic +90° +180° +270°
- 797825
Green Commando
- 008488
≈ Milky Aquamarine
- 7269AC
≈ Clear Mauve
- A8595C
≈ Lingonberry Punch
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--green-commando: #797825;
--green-commando-rgb: 121 120 37;
--green-commando-oklch: oklch(0.557 0.103 108.7);
}
.element {
color: var(--green-commando);
background-color: hsl(59 53% 31%);
border-color: oklch(0.557 0.103 108.7);
}Tailwind CSS v4
@theme {
--color-green-commando: #797825;
--color-green-commando-50: #f6f8d7;
--color-green-commando-100: #e9ecc4;
--color-green-commando-200: #d6d9a6;
--color-green-commando-300: #babd7e;
--color-green-commando-400: #a3a358;
--color-green-commando-500: #8c8b2e;
--color-green-commando-600: #777629;
--color-green-commando-700: #5f5e20;
--color-green-commando-800: #474514;
--color-green-commando-900: #312f0d;
--color-green-commando-950: #1d1c02;
}SCSS
$green-commando: #797825;
$green-commando-rgb: 121, 120, 37;
$green-commando-light: mix(#fff, $green-commando, 20%);
$green-commando-dark: mix(#000, $green-commando, 20%);
.element {
color: $green-commando;
box-shadow: 0 0 0 2px rgba($green-commando, 0.35);
}