#166C21#166C21
#166C21 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 144.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #166C21 |
|---|---|
| RGB | rgb(22, 108, 33) |
| HSL | hsl(128, 66%, 25%) |
| HSV | hsv(128, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 69.4%, 57.6%) |
| CIE-LAB | lab(39.59, -40.88, 33.81) |
| CIE-LCH | lch(39.59, 53.05, 140.40°) |
| OKLab | oklab(46.57% -0.1104 0.0783) |
| OKLCH | oklch(46.57% 0.135 144.7) |
| XYZ | xyz(5.9675, 11.0048, 3.2482) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.07
Darkish Green
#287C37
ΔE00 5.90
Deep Green
#02590F
ΔE00 6.17
Tree Green
#2A7E19
ΔE00 7.12
Forest Green
#2D5A27
ΔE00 7.32
Forest
#0B5509
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C21 #6C1661
analogous
#366C16 #166C21 #166C4C
triadic
#166C21 #21166C #6C2116
tetradic
#166C21 #16366C #6C1661 #6C4C16
square
#166C21 #16366C #6C1661 #6C4C16
split-complementary
#166C21 #4C166C #6C1636
monochromatic
#051908 #0C3911 #166C21 #209F31 #2BD240
Accessibility & contrast
On white
6.56
#166C21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C21
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C21 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6117
Deuteranopia (green-blind)
#645B28
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c21; /* rgb */ color: rgb(22, 108, 33); /* oklch */ color: oklch(46.6% 0.135 144.7);
Tailwind
colors: {
custom: {
50: '#639760',
500: '#166c21',
950: '#000000',
},
}SCSS
$custom: #166c21; $custom-light: #639760; $custom-dark: #000000;
JSON
{
"hex": "#166c21",
"rgb": {
"r": 22,
"g": 108,
"b": 33
},
"hsl": {
"h": 127.674,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46573,
"c": 0.13534,
"h": 144.7
},
"luminance": 0.11006
}Semantic roles & 50–950 ramp
primary
#166C21
secondary
#A23C95
accent
#3FD3E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79