#186F42#186F42
#186F42 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.0% C 0.108 H 155.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #186F42 |
|---|---|
| RGB | rgb(24, 111, 66) |
| HSL | hsl(149, 64%, 26%) |
| HSV | hsv(149, 78%, 44%) |
| CMYK | cmyk(78.4%, 0%, 40.5%, 56.5%) |
| CIE-LAB | lab(41.15, -36.30, 18.07) |
| CIE-LCH | lch(41.15, 40.54, 153.54°) |
| OKLab | oklab(48.02% -0.0979 0.0451) |
| OKLCH | oklch(48.02% 0.108 155.3) |
| XYZ | xyz(7.0438, 11.9556, 7.0896) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.37
Pine
#2B5D34
ΔE00 6.63
Darkish Green
#287C37
ΔE00 6.83
Jungle Green
#048243
ΔE00 7.15
Hunter Green
#355E3B
ΔE00 7.28
Forest Green
#2D5A27
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186F42 #6F1845
analogous
#196F18 #186F42 #186F6E
triadic
#186F42 #42186F #6F4218
tetradic
#186F42 #18196F #6F1845 #6F6E18
square
#186F42 #18196F #6F1845 #6F6E18
split-complementary
#186F42 #6E186F #6F1819
monochromatic
#05190F #0D3D24 #186F42 #23A160 #2FD27E
Accessibility & contrast
On white
6.19
#186F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#186F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186F42
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186F42 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #186f42; /* rgb */ color: rgb(24, 111, 66); /* oklch */ color: oklch(48.0% 0.108 155.3);
Tailwind
colors: {
custom: {
50: '#649977',
500: '#186f42',
950: '#000000',
},
}SCSS
$custom: #186f42; $custom-light: #649977; $custom-dark: #000000;
JSON
{
"hex": "#186f42",
"rgb": {
"r": 24,
"g": 111,
"b": 66
},
"hsl": {
"h": 148.966,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.48023,
"c": 0.10783,
"h": 155.3
},
"luminance": 0.11956
}Semantic roles & 50–950 ramp
primary
#186F42
secondary
#A53E73
accent
#4097E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B