#166F21#166F21
#166F21 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.139 H 144.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #166F21 |
|---|---|
| RGB | rgb(22, 111, 33) |
| HSL | hsl(127, 67%, 26%) |
| HSV | hsv(127, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 70.3%, 56.5%) |
| CIE-LAB | lab(40.65, -41.95, 34.97) |
| CIE-LCH | lch(40.65, 54.62, 140.19°) |
| OKLab | oklab(47.46% -0.1133 0.0807) |
| OKLCH | oklch(47.46% 0.139 144.5) |
| XYZ | xyz(6.2894, 11.6485, 3.3555) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.56
Darkish Green
#287C37
ΔE00 5.11
Tree Green
#2A7E19
ΔE00 6.12
Green
#008000
ΔE00 7.11
Deep Green
#02590F
ΔE00 7.14
Jungle Green
#048243
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F21 #6F1664
analogous
#376F16 #166F21 #166F4D
triadic
#166F21 #21166F #6F2116
tetradic
#166F21 #16376F #6F1664 #6F4D16
square
#166F21 #16376F #6F1664 #6F4D16
split-complementary
#166F21 #4D166F #6F1637
monochromatic
#051A08 #0C3C12 #166F21 #20A230 #2BD540
Accessibility & contrast
On white
6.31
#166F21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#166F21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F21
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F21 | 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)
#716417
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f21; /* rgb */ color: rgb(22, 111, 33); /* oklch */ color: oklch(47.5% 0.139 144.5);
Tailwind
colors: {
custom: {
50: '#649960',
500: '#166f21',
950: '#000000',
},
}SCSS
$custom: #166f21; $custom-light: #649960; $custom-dark: #000000;
JSON
{
"hex": "#166f21",
"rgb": {
"r": 22,
"g": 111,
"b": 33
},
"hsl": {
"h": 127.416,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47455,
"c": 0.13914,
"h": 144.5
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#166F21
secondary
#A53C98
accent
#3ED5EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79