#166538#166538
#166538 is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.104 H 153.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #166538 |
|---|---|
| RGB | rgb(22, 101, 56) |
| HSL | hsl(146, 64%, 24%) |
| HSV | hsv(146, 78%, 40%) |
| CMYK | cmyk(78.2%, 0%, 44.6%, 60.4%) |
| CIE-LAB | lab(37.41, -34.54, 18.95) |
| CIE-LCH | lch(37.41, 39.40, 151.25°) |
| OKLab | oklab(44.87% -0.093 0.047) |
| OKLCH | oklch(44.87% 0.104 153.2) |
| XYZ | xyz(5.6979, 9.7628, 5.3247) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.51
Pine
#2B5D34
ΔE00 3.83
Hunter Green
#355E3B
ΔE00 5.25
Forest Green
#2D5A27
ΔE00 5.85
Deep Green
#02590F
ΔE00 7.61
Forest
#0B5509
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166538 #651643
analogous
#1B6516 #166538 #166560
triadic
#166538 #381665 #653816
tetradic
#166538 #161B65 #651643 #656016
square
#166538 #161B65 #651643 #656016
split-complementary
#166538 #601665 #65161B
monochromatic
#05190E #0B331C #166538 #219754 #2CCA70
Accessibility & contrast
On white
7.11
#166538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#166538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166538
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166538 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655C35
Deuteranopia (green-blind)
#5C553B
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166538; /* rgb */ color: rgb(22, 101, 56); /* oklch */ color: oklch(44.9% 0.104 153.2);
Tailwind
colors: {
custom: {
50: '#61926f',
500: '#166538',
950: '#000000',
},
}SCSS
$custom: #166538; $custom-light: #61926f; $custom-dark: #000000;
JSON
{
"hex": "#166538",
"rgb": {
"r": 22,
"g": 101,
"b": 56
},
"hsl": {
"h": 145.823,
"s": 64.228,
"l": 24.118
},
"oklch": {
"l": 0.44872,
"c": 0.10422,
"h": 153.2
},
"luminance": 0.09763
}Semantic roles & 50–950 ramp
primary
#166538
secondary
#9C3B72
accent
#41A0E7
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A