#166837#166837
#166837 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.110 H 152.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #166837 |
|---|---|
| RGB | rgb(22, 104, 55) |
| HSL | hsl(144, 65%, 25%) |
| HSV | hsv(144, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 47.1%, 59.2%) |
| CIE-LAB | lab(38.46, -35.97, 20.88) |
| CIE-LCH | lch(38.46, 41.59, 149.86°) |
| OKLab | oklab(45.73% -0.0968 0.0514) |
| OKLCH | oklch(45.73% 0.11 152) |
| XYZ | xyz(5.9703, 10.3463, 5.2961) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.77
Pine
#2B5D34
ΔE00 4.65
Hunter Green
#355E3B
ΔE00 6.04
Forest Green
#2D5A27
ΔE00 6.18
Deep Green
#02590F
ΔE00 7.50
Darkish Green
#287C37
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166837 #681647
analogous
#1E6816 #166837 #166860
triadic
#166837 #371668 #683716
tetradic
#166837 #161E68 #681647 #686016
square
#166837 #161E68 #681647 #686016
split-complementary
#166837 #601668 #68161E
monochromatic
#05190D #0B351C #166837 #219B52 #2BCD6C
Accessibility & contrast
On white
6.84
#166837 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166837 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166837
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166837 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F33
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166837; /* rgb */ color: rgb(22, 104, 55); /* oklch */ color: oklch(45.7% 0.110 152.0);
Tailwind
colors: {
custom: {
50: '#61946e',
500: '#166837',
950: '#000000',
},
}SCSS
$custom: #166837; $custom-light: #61946e; $custom-dark: #000000;
JSON
{
"hex": "#166837",
"rgb": {
"r": 22,
"g": 104,
"b": 55
},
"hsl": {
"h": 144.146,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45728,
"c": 0.10958,
"h": 152
},
"luminance": 0.10347
}Semantic roles & 50–950 ramp
primary
#166837
secondary
#9F3B77
accent
#40A4E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A