#166C22#166C22
#166C22 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 144.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #166C22 |
|---|---|
| RGB | rgb(22, 108, 34) |
| HSL | hsl(128, 66%, 25%) |
| HSV | hsv(128, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 68.5%, 57.6%) |
| CIE-LAB | lab(39.60, -40.76, 33.36) |
| CIE-LCH | lch(39.60, 52.67, 140.71°) |
| OKLab | oklab(46.58% -0.1101 0.0774) |
| OKLCH | oklch(46.58% 0.135 144.9) |
| XYZ | xyz(5.9818, 11.0105, 3.3230) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.19
Darkish Green
#287C37
ΔE00 5.85
Deep Green
#02590F
ΔE00 6.19
Tree Green
#2A7E19
ΔE00 7.20
Forest Green
#2D5A27
ΔE00 7.27
Forest
#0B5509
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C22 #6C1660
analogous
#356C16 #166C22 #166C4D
triadic
#166C22 #22166C #6C2216
tetradic
#166C22 #16356C #6C1660 #6C4D16
square
#166C22 #16356C #6C1660 #6C4D16
split-complementary
#166C22 #4D166C #6C1635
monochromatic
#051908 #0C3912 #166C22 #209F32 #2BD242
Accessibility & contrast
On white
6.56
#166C22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C22
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C22 | 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)
#6E6119
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c22; /* rgb */ color: rgb(22, 108, 34); /* oklch */ color: oklch(46.6% 0.135 144.9);
Tailwind
colors: {
custom: {
50: '#639761',
500: '#166c22',
950: '#000000',
},
}SCSS
$custom: #166c22; $custom-light: #639761; $custom-dark: #000000;
JSON
{
"hex": "#166c22",
"rgb": {
"r": 22,
"g": 108,
"b": 34
},
"hsl": {
"h": 128.372,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46584,
"c": 0.13456,
"h": 144.9
},
"luminance": 0.11011
}Semantic roles & 50–950 ramp
primary
#166C22
secondary
#A23C94
accent
#3FD1E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79