#186F18#186F18
#186F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 142.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #186F18 |
|---|---|
| RGB | rgb(24, 111, 24) |
| HSL | hsl(120, 64%, 26%) |
| HSV | hsv(120, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(40.62, -42.50, 38.72) |
| CIE-LCH | lch(40.62, 57.49, 137.66°) |
| OKLab | oklab(47.42% -0.1154 0.0874) |
| OKLCH | oklch(47.42% 0.145 142.9) |
| XYZ | xyz(6.2256, 11.6283, 2.7804) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.95
Tree Green
#2A7E19
ΔE00 5.55
Darkish Green
#287C37
ΔE00 5.79
Green
#008000
ΔE00 6.40
Deep Green
#02590F
ΔE00 7.27
Dark Grass Green
#388004
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F18 #6F186F
analogous
#446F18 #186F18 #186F44
triadic
#186F18 #18186F #6F1818
tetradic
#186F18 #18446F #6F186F #6F4418
square
#186F18 #18446F #6F186F #6F4418
split-complementary
#186F18 #44186F #6F1844
monochromatic
#051905 #0D3D0D #186F18 #23A123 #2FD22F
Accessibility & contrast
On white
6.31
#186F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#186F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F18
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F18 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f18; /* rgb */ color: rgb(24, 111, 24); /* oklch */ color: oklch(47.4% 0.145 142.9);
Tailwind
colors: {
custom: {
50: '#65995b',
500: '#186f18',
950: '#000000',
},
}SCSS
$custom: #186f18; $custom-light: #65995b; $custom-dark: #000000;
JSON
{
"hex": "#186f18",
"rgb": {
"r": 24,
"g": 111,
"b": 24
},
"hsl": {
"h": 120,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47416,
"c": 0.1447,
"h": 142.9
},
"luminance": 0.11629
}Semantic roles & 50–950 ramp
primary
#186F18
secondary
#A53EA5
accent
#40E7E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79