#186717#186717
#186717 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.0% C 0.136 H 142.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #186717 |
|---|---|
| RGB | rgb(24, 103, 23) |
| HSL | hsl(119, 63%, 25%) |
| HSV | hsv(119, 78%, 40%) |
| CMYK | cmyk(76.7%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(37.76, -39.74, 36.24) |
| CIE-LCH | lch(37.76, 53.79, 137.64°) |
| OKLab | oklab(45.04% -0.1079 0.082) |
| OKLCH | oklch(45.04% 0.136 142.8) |
| XYZ | xyz(5.3813, 9.9559, 2.4485) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.37
Deep Green
#02590F
ΔE00 4.64
Forest
#0B5509
ΔE00 5.75
Forest Green
#2D5A27
ΔE00 6.52
Darkish Green
#287C37
ΔE00 7.75
Pine
#2B5D34
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186717 #661767
analogous
#406717 #186717 #17673E
triadic
#186717 #171867 #671718
tetradic
#186717 #174067 #661767 #673E17
square
#186717 #174067 #661767 #673E17
split-complementary
#186717 #3E1767 #671740
monochromatic
#061906 #0C350C #186717 #249922 #2FCB2D
Accessibility & contrast
On white
7.02
#186717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#186717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #186717
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186717 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #186717; /* rgb */ color: rgb(24, 103, 23); /* oklch */ color: oklch(45.0% 0.136 142.8);
Tailwind
colors: {
custom: {
50: '#63935a',
500: '#186717',
950: '#000000',
},
}SCSS
$custom: #186717; $custom-light: #63935a; $custom-dark: #000000;
JSON
{
"hex": "#186717",
"rgb": {
"r": 24,
"g": 103,
"b": 23
},
"hsl": {
"h": 119.25,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.45042,
"c": 0.13558,
"h": 142.8
},
"luminance": 0.09957
}Semantic roles & 50–950 ramp
primary
#186717
secondary
#9C3D9D
accent
#41E7E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79