#166939#166939
#166939 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.109 H 152.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #166939 |
|---|---|
| RGB | rgb(22, 105, 57) |
| HSL | hsl(145, 65%, 25%) |
| HSV | hsv(145, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 45.7%, 58.8%) |
| CIE-LAB | lab(38.84, -35.99, 20.24) |
| CIE-LCH | lch(38.84, 41.29, 150.65°) |
| OKLab | oklab(46.06% -0.0968 0.05) |
| OKLCH | oklch(46.06% 0.109 152.7) |
| XYZ | xyz(6.1204, 10.5684, 5.5874) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.85
Pine
#2B5D34
ΔE00 4.89
Hunter Green
#355E3B
ΔE00 6.14
Forest Green
#2D5A27
ΔE00 6.56
Darkish Green
#287C37
ΔE00 7.64
Deep Green
#02590F
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166939 #691646
analogous
#1D6916 #166939 #166962
triadic
#166939 #391669 #693916
tetradic
#166939 #161D69 #691646 #696216
square
#166939 #161D69 #691646 #696216
split-complementary
#166939 #621669 #69161D
monochromatic
#05190E #0B361E #166939 #219C54 #2BCE70
Accessibility & contrast
On white
6.74
#166939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166939
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166939 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696035
Deuteranopia (green-blind)
#5F593C
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166939; /* rgb */ color: rgb(22, 105, 57); /* oklch */ color: oklch(46.1% 0.109 152.7);
Tailwind
colors: {
custom: {
50: '#629570',
500: '#166939',
950: '#000000',
},
}SCSS
$custom: #166939; $custom-light: #629570; $custom-dark: #000000;
JSON
{
"hex": "#166939",
"rgb": {
"r": 22,
"g": 105,
"b": 57
},
"hsl": {
"h": 145.301,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.46059,
"c": 0.10899,
"h": 152.7
},
"luminance": 0.10569
}Semantic roles & 50–950 ramp
primary
#166939
secondary
#9F3B75
accent
#3FA1E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A