#166C20#166C20
#166C20 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.136 H 144.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #166C20 |
|---|---|
| RGB | rgb(22, 108, 32) |
| HSL | hsl(127, 66%, 25%) |
| HSV | hsv(127, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 70.4%, 57.6%) |
| CIE-LAB | lab(39.58, -40.99, 34.26) |
| CIE-LCH | lch(39.58, 53.43, 140.11°) |
| OKLab | oklab(46.56% -0.1108 0.0791) |
| OKLCH | oklch(46.56% 0.136 144.5) |
| XYZ | xyz(5.9537, 10.9993, 3.1755) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.94
Darkish Green
#287C37
ΔE00 5.95
Deep Green
#02590F
ΔE00 6.16
Tree Green
#2A7E19
ΔE00 7.04
Forest Green
#2D5A27
ΔE00 7.38
Forest
#0B5509
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C20 #6C1662
analogous
#376C16 #166C20 #166C4B
triadic
#166C20 #20166C #6C2016
tetradic
#166C20 #16376C #6C1662 #6C4B16
square
#166C20 #16376C #6C1662 #6C4B16
split-complementary
#166C20 #4B166C #6C1637
monochromatic
#051908 #0C3911 #166C20 #209F2F #2BD23E
Accessibility & contrast
On white
6.56
#166C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C20
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C20 | 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)
#6E6116
Deuteranopia (green-blind)
#645B27
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c20; /* rgb */ color: rgb(22, 108, 32); /* oklch */ color: oklch(46.6% 0.136 144.5);
Tailwind
colors: {
custom: {
50: '#63975f',
500: '#166c20',
950: '#000000',
},
}SCSS
$custom: #166c20; $custom-light: #63975f; $custom-dark: #000000;
JSON
{
"hex": "#166c20",
"rgb": {
"r": 22,
"g": 108,
"b": 32
},
"hsl": {
"h": 126.977,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46562,
"c": 0.13612,
"h": 144.5
},
"luminance": 0.11
}Semantic roles & 50–950 ramp
primary
#166C20
secondary
#A23C96
accent
#3FD5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79