#166E20#166E20
#166E20 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.139 H 144.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #166E20 |
|---|---|
| RGB | rgb(22, 110, 32) |
| HSL | hsl(127, 67%, 26%) |
| HSV | hsv(127, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 70.9%, 56.9%) |
| CIE-LAB | lab(40.29, -41.71, 35.03) |
| CIE-LCH | lch(40.29, 54.47, 139.97°) |
| OKLab | oklab(47.15% -0.1127 0.0807) |
| OKLCH | oklch(47.15% 0.139 144.4) |
| XYZ | xyz(6.1671, 11.4260, 3.2466) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.27
Darkish Green
#287C37
ΔE00 5.43
Tree Green
#2A7E19
ΔE00 6.38
Deep Green
#02590F
ΔE00 6.81
Green
#008000
ΔE00 7.35
Forest Green
#2D5A27
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E20 #6E1664
analogous
#386E16 #166E20 #166E4C
triadic
#166E20 #20166E #6E2016
tetradic
#166E20 #16386E #6E1664 #6E4C16
square
#166E20 #16386E #6E1664 #6E4C16
split-complementary
#166E20 #4C166E #6E1638
monochromatic
#051A07 #0C3B11 #166E20 #20A12F #2AD43E
Accessibility & contrast
On white
6.39
#166E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#166E20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E20
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E20 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706315
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e20; /* rgb */ color: rgb(22, 110, 32); /* oklch */ color: oklch(47.2% 0.139 144.4);
Tailwind
colors: {
custom: {
50: '#649960',
500: '#166e20',
950: '#000000',
},
}SCSS
$custom: #166e20; $custom-light: #649960; $custom-dark: #000000;
JSON
{
"hex": "#166e20",
"rgb": {
"r": 22,
"g": 110,
"b": 32
},
"hsl": {
"h": 126.818,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47151,
"c": 0.13864,
"h": 144.4
},
"luminance": 0.11427
}Semantic roles & 50–950 ramp
primary
#166E20
secondary
#A43C98
accent
#3ED6EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79