#186F17#186F17
#186F17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 142.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #186F17 |
|---|---|
| RGB | rgb(24, 111, 23) |
| HSL | hsl(119, 66%, 26%) |
| HSV | hsv(119, 79%, 44%) |
| CMYK | cmyk(78.4%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(40.61, -42.58, 39.09) |
| CIE-LCH | lch(40.61, 57.80, 137.44°) |
| OKLab | oklab(47.41% -0.1156 0.088) |
| OKLCH | oklch(47.41% 0.145 142.7) |
| XYZ | xyz(6.2154, 11.6242, 2.7266) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 5.51
Darkish Green
#287C37
ΔE00 5.87
Green
#008000
ΔE00 6.35
Deep Green
#02590F
ΔE00 7.29
Dark Grass Green
#388004
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F17 #6E176F
analogous
#446F17 #186F17 #176F42
triadic
#186F17 #17186F #6F1718
tetradic
#186F17 #17446F #6E176F #6F4217
square
#186F17 #17446F #6E176F #6F4217
split-complementary
#186F17 #42176F #6F1744
monochromatic
#051905 #0D3C0C #186F17 #23A222 #2FD32D
Accessibility & contrast
On white
6.32
#186F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#186F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F17
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F17 | 1.00 | 6.32 | 3.33 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f17; /* rgb */ color: rgb(24, 111, 23); /* oklch */ color: oklch(47.4% 0.145 142.7);
Tailwind
colors: {
custom: {
50: '#65995b',
500: '#186f17',
950: '#000000',
},
}SCSS
$custom: #186f17; $custom-light: #65995b; $custom-dark: #000000;
JSON
{
"hex": "#186f17",
"rgb": {
"r": 24,
"g": 111,
"b": 23
},
"hsl": {
"h": 119.318,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47409,
"c": 0.1453,
"h": 142.7
},
"luminance": 0.11625
}Semantic roles & 50–950 ramp
primary
#186F17
secondary
#A43DA5
accent
#3FE9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79