#166F20#166F20
#166F20 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.140 H 144.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #166F20 |
|---|---|
| RGB | rgb(22, 111, 32) |
| HSL | hsl(127, 67%, 26%) |
| HSV | hsv(127, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(40.64, -42.06, 35.41) |
| CIE-LCH | lch(40.64, 54.98, 139.91°) |
| OKLab | oklab(47.45% -0.1137 0.0815) |
| OKLCH | oklch(47.45% 0.14 144.4) |
| XYZ | xyz(6.2756, 11.6430, 3.2828) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.47
Darkish Green
#287C37
ΔE00 5.18
Tree Green
#2A7E19
ΔE00 6.05
Green
#008000
ΔE00 7.02
Deep Green
#02590F
ΔE00 7.14
Jungle Green
#048243
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F20 #6F1665
analogous
#386F16 #166F20 #166F4C
triadic
#166F20 #20166F #6F2016
tetradic
#166F20 #16386F #6F1665 #6F4C16
square
#166F20 #16386F #6F1665 #6F4C16
split-complementary
#166F20 #4C166F #6F1638
monochromatic
#051A07 #0C3C11 #166F20 #20A22F #2BD53E
Accessibility & contrast
On white
6.31
#166F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#166F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F20
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F20 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f20; /* rgb */ color: rgb(22, 111, 32); /* oklch */ color: oklch(47.4% 0.140 144.4);
Tailwind
colors: {
custom: {
50: '#649960',
500: '#166f20',
950: '#000000',
},
}SCSS
$custom: #166f20; $custom-light: #649960; $custom-dark: #000000;
JSON
{
"hex": "#166f20",
"rgb": {
"r": 22,
"g": 111,
"b": 32
},
"hsl": {
"h": 126.742,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47445,
"c": 0.13989,
"h": 144.4
},
"luminance": 0.11644
}Semantic roles & 50–950 ramp
primary
#166F20
secondary
#A53C99
accent
#3ED7EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79