#166E21#166E21
#166E21 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.138 H 144.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #166E21 |
|---|---|
| RGB | rgb(22, 110, 33) |
| HSL | hsl(128, 67%, 26%) |
| HSV | hsv(128, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 70%, 56.9%) |
| CIE-LAB | lab(40.30, -41.60, 34.59) |
| CIE-LCH | lch(40.30, 54.10, 140.26°) |
| OKLab | oklab(47.16% -0.1124 0.0799) |
| OKLCH | oklch(47.16% 0.138 144.6) |
| XYZ | xyz(6.1809, 11.4315, 3.3193) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.37
Darkish Green
#287C37
ΔE00 5.37
Tree Green
#2A7E19
ΔE00 6.45
Deep Green
#02590F
ΔE00 6.81
Green
#008000
ΔE00 7.44
Forest Green
#2D5A27
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E21 #6E1663
analogous
#376E16 #166E21 #166E4D
triadic
#166E21 #21166E #6E2116
tetradic
#166E21 #16376E #6E1663 #6E4D16
square
#166E21 #16376E #6E1663 #6E4D16
split-complementary
#166E21 #4D166E #6E1637
monochromatic
#051A08 #0C3B12 #166E21 #20A130 #2AD440
Accessibility & contrast
On white
6.39
#166E21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#166E21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E21
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E21 | 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)
#706317
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e21; /* rgb */ color: rgb(22, 110, 33); /* oklch */ color: oklch(47.2% 0.138 144.6);
Tailwind
colors: {
custom: {
50: '#649960',
500: '#166e21',
950: '#000000',
},
}SCSS
$custom: #166e21; $custom-light: #649960; $custom-dark: #000000;
JSON
{
"hex": "#166e21",
"rgb": {
"r": 22,
"g": 110,
"b": 33
},
"hsl": {
"h": 127.5,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47161,
"c": 0.13788,
"h": 144.6
},
"luminance": 0.11432
}Semantic roles & 50–950 ramp
primary
#166E21
secondary
#A43C97
accent
#3ED4EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79