#186E17#186E17
#186E17 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.144 H 142.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #186E17 |
|---|---|
| RGB | rgb(24, 110, 23) |
| HSL | hsl(119, 65%, 26%) |
| HSV | hsv(119, 79%, 43%) |
| CMYK | cmyk(78.2%, 0%, 79.1%, 56.9%) |
| CIE-LAB | lab(40.26, -42.23, 38.74) |
| CIE-LCH | lch(40.26, 57.31, 137.47°) |
| OKLab | oklab(47.11% -0.1147 0.0872) |
| OKLCH | oklch(47.11% 0.144 142.7) |
| XYZ | xyz(6.1069, 11.4072, 2.6904) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.64
Tree Green
#2A7E19
ΔE00 5.84
Darkish Green
#287C37
ΔE00 6.07
Green
#008000
ΔE00 6.68
Deep Green
#02590F
ΔE00 6.96
Dark Grass Green
#388004
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186E17 #6D176E
analogous
#436E17 #186E17 #176E41
triadic
#186E17 #17186E #6E1718
tetradic
#186E17 #17436E #6D176E #6E4117
square
#186E17 #17436E #6D176E #6E4117
split-complementary
#186E17 #41176E #6E1743
monochromatic
#061905 #0D3B0C #186E17 #23A122 #2ED32C
Accessibility & contrast
On white
6.40
#186E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#186E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186E17
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186E17 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #186e17; /* rgb */ color: rgb(24, 110, 23); /* oklch */ color: oklch(47.1% 0.144 142.7);
Tailwind
colors: {
custom: {
50: '#65995b',
500: '#186e17',
950: '#000000',
},
}SCSS
$custom: #186e17; $custom-light: #65995b; $custom-dark: #000000;
JSON
{
"hex": "#186e17",
"rgb": {
"r": 24,
"g": 110,
"b": 23
},
"hsl": {
"h": 119.31,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.47114,
"c": 0.14411,
"h": 142.7
},
"luminance": 0.11408
}Semantic roles & 50–950 ramp
primary
#186E17
secondary
#A33DA4
accent
#3FE8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79