#186F20#186F20
#186F20 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.139 H 144.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #186F20 |
|---|---|
| RGB | rgb(24, 111, 32) |
| HSL | hsl(126, 64%, 26%) |
| HSV | hsv(126, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(40.68, -41.74, 35.46) |
| CIE-LCH | lch(40.68, 54.77, 139.64°) |
| OKLab | oklab(47.49% -0.1129 0.0816) |
| OKLCH | oklch(47.49% 0.139 144.1) |
| XYZ | xyz(6.3214, 11.6666, 3.2850) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.47
Darkish Green
#287C37
ΔE00 5.17
Tree Green
#2A7E19
ΔE00 5.99
Green
#008000
ΔE00 7.00
Deep Green
#02590F
ΔE00 7.16
Jungle Green
#048243
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F20 #6F1867
analogous
#3C6F18 #186F20 #186F4C
triadic
#186F20 #20186F #6F2018
tetradic
#186F20 #183C6F #6F1867 #6F4C18
square
#186F20 #183C6F #6F1867 #6F4C18
split-complementary
#186F20 #4C186F #6F183C
monochromatic
#051907 #0D3D11 #186F20 #23A12F #2FD23E
Accessibility & contrast
On white
6.30
#186F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#186F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F20
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F20 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186f20; /* rgb */ color: rgb(24, 111, 32); /* oklch */ color: oklch(47.5% 0.139 144.1);
Tailwind
colors: {
custom: {
50: '#659960',
500: '#186f20',
950: '#000000',
},
}SCSS
$custom: #186f20; $custom-light: #659960; $custom-dark: #000000;
JSON
{
"hex": "#186f20",
"rgb": {
"r": 24,
"g": 111,
"b": 32
},
"hsl": {
"h": 125.517,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47488,
"c": 0.13931,
"h": 144.1
},
"luminance": 0.11667
}Semantic roles & 50–950 ramp
primary
#186F20
secondary
#A53E9B
accent
#40D8E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79