#186E42#186E42
#186E42 is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.7% C 0.106 H 155.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #186E42 |
|---|---|
| RGB | rgb(24, 110, 66) |
| HSL | hsl(149, 64%, 26%) |
| HSV | hsv(149, 78%, 43%) |
| CMYK | cmyk(78.2%, 0%, 40%, 56.9%) |
| CIE-LAB | lab(40.80, -35.88, 17.60) |
| CIE-LCH | lch(40.80, 39.97, 153.87°) |
| OKLab | oklab(47.74% -0.0969 0.044) |
| OKLCH | oklch(47.74% 0.106 155.6) |
| XYZ | xyz(6.9353, 11.7386, 7.0535) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.01
Pine
#2B5D34
ΔE00 6.35
Hunter Green
#355E3B
ΔE00 7.00
Darkish Green
#287C37
ΔE00 7.20
Jungle Green
#048243
ΔE00 7.54
Forest Green
#2D5A27
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186E42 #6E1844
analogous
#196E18 #186E42 #186E6D
triadic
#186E42 #42186E #6E4218
tetradic
#186E42 #18196E #6E1844 #6E6D18
square
#186E42 #18196E #6E1844 #6E6D18
split-complementary
#186E42 #6D186E #6E1819
monochromatic
#05190F #0D3C24 #186E42 #23A060 #2FD27E
Accessibility & contrast
On white
6.27
#186E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#186E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186E42
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186E42 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D653F
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #186e42; /* rgb */ color: rgb(24, 110, 66); /* oklch */ color: oklch(47.7% 0.106 155.6);
Tailwind
colors: {
custom: {
50: '#639876',
500: '#186e42',
950: '#000000',
},
}SCSS
$custom: #186e42; $custom-light: #639876; $custom-dark: #000000;
JSON
{
"hex": "#186e42",
"rgb": {
"r": 24,
"g": 110,
"b": 66
},
"hsl": {
"h": 149.302,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.47736,
"c": 0.1064,
"h": 155.6
},
"luminance": 0.11739
}Semantic roles & 50–950 ramp
primary
#186E42
secondary
#A43E72
accent
#4196E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B