#166231#166231
#166231 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.107 H 150.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #166231 |
|---|---|
| RGB | rgb(22, 98, 49) |
| HSL | hsl(141, 63%, 24%) |
| HSV | hsv(141, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 50%, 61.6%) |
| CIE-LAB | lab(36.23, -34.67, 21.47) |
| CIE-LCH | lch(36.23, 40.78, 148.23°) |
| OKLab | oklab(43.85% -0.0933 0.0525) |
| OKLCH | oklch(43.85% 0.107 150.6) |
| XYZ | xyz(5.2525, 9.1271, 4.3900) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.96
Pine
#2B5D34
ΔE00 3.37
Forest Green
#2D5A27
ΔE00 4.63
Hunter Green
#355E3B
ΔE00 5.30
Deep Green
#02590F
ΔE00 6.05
Forest
#0B5509
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166231 #621647
analogous
#216216 #166231 #166257
triadic
#166231 #311662 #623116
tetradic
#166231 #162162 #621647 #625716
square
#166231 #162162 #621647 #625716
split-complementary
#166231 #571662 #621621
monochromatic
#06190C #0B3018 #166231 #21944A #2CC663
Accessibility & contrast
On white
7.43
#166231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#166231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166231
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166231 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592D
Deuteranopia (green-blind)
#595334
Tritanopia (blue-blind)
#006056
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166231; /* rgb */ color: rgb(22, 98, 49); /* oklch */ color: oklch(43.9% 0.107 150.6);
Tailwind
colors: {
custom: {
50: '#608f6a',
500: '#166231',
950: '#000000',
},
}SCSS
$custom: #166231; $custom-light: #608f6a; $custom-dark: #000000;
JSON
{
"hex": "#166231",
"rgb": {
"r": 22,
"g": 98,
"b": 49
},
"hsl": {
"h": 141.316,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43854,
"c": 0.10704,
"h": 150.6
},
"luminance": 0.09128
}Semantic roles & 50–950 ramp
primary
#166231
secondary
#993B77
accent
#41ACE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A