#166031#166031
#166031 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.104 H 151.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #166031 |
|---|---|
| RGB | rgb(22, 96, 49) |
| HSL | hsl(142, 63%, 23%) |
| HSV | hsv(142, 77%, 38%) |
| CMYK | cmyk(77.1%, 0%, 49%, 62.4%) |
| CIE-LAB | lab(35.51, -33.85, 20.56) |
| CIE-LCH | lch(35.51, 39.60, 148.73°) |
| OKLab | oklab(43.26% -0.0911 0.0504) |
| OKLCH | oklch(43.26% 0.104 151) |
| XYZ | xyz(5.0677, 8.7575, 4.3284) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.47
Pine
#2B5D34
ΔE00 2.95
Forest Green
#2D5A27
ΔE00 4.43
Hunter Green
#355E3B
ΔE00 4.96
Deep Green
#02590F
ΔE00 6.12
Forest
#0B5509
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166031 #601645
analogous
#206016 #166031 #166056
triadic
#166031 #311660 #603116
tetradic
#166031 #162060 #601645 #605616
square
#166031 #162060 #601645 #605616
split-complementary
#166031 #561660 #601620
monochromatic
#06190D #0B2E18 #166031 #21924A #2DC464
Accessibility & contrast
On white
7.63
#166031 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#166031 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166031
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166031 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #166031; /* rgb */ color: rgb(22, 96, 49); /* oklch */ color: oklch(43.3% 0.104 151.0);
Tailwind
colors: {
custom: {
50: '#5f8e6a',
500: '#166031',
950: '#000000',
},
}SCSS
$custom: #166031; $custom-light: #5f8e6a; $custom-dark: #000000;
JSON
{
"hex": "#166031",
"rgb": {
"r": 22,
"g": 96,
"b": 49
},
"hsl": {
"h": 141.892,
"s": 62.712,
"l": 23.137
},
"oklch": {
"l": 0.43263,
"c": 0.10413,
"h": 151
},
"luminance": 0.08758
}Semantic roles & 50–950 ramp
primary
#166031
secondary
#973B75
accent
#42AAE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A