#166E22#166E22
#166E22 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.137 H 144.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #166E22 |
|---|---|
| RGB | rgb(22, 110, 34) |
| HSL | hsl(128, 67%, 26%) |
| HSV | hsv(128, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 69.1%, 56.9%) |
| CIE-LAB | lab(40.31, -41.48, 34.14) |
| CIE-LCH | lch(40.31, 53.72, 140.55°) |
| OKLab | oklab(47.17% -0.112 0.0791) |
| OKLCH | oklch(47.17% 0.137 144.8) |
| XYZ | xyz(6.1951, 11.4372, 3.3942) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.48
Darkish Green
#287C37
ΔE00 5.31
Tree Green
#2A7E19
ΔE00 6.54
Deep Green
#02590F
ΔE00 6.82
Green
#008000
ΔE00 7.54
Forest Green
#2D5A27
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E22 #6E1662
analogous
#366E16 #166E22 #166E4E
triadic
#166E22 #22166E #6E2216
tetradic
#166E22 #16366E #6E1662 #6E4E16
square
#166E22 #16366E #6E1662 #6E4E16
split-complementary
#166E22 #4E166E #6E1636
monochromatic
#051A08 #0C3B12 #166E22 #20A132 #2AD442
Accessibility & contrast
On white
6.39
#166E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#166E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E22
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E22 | 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)
#706318
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e22; /* rgb */ color: rgb(22, 110, 34); /* oklch */ color: oklch(47.2% 0.137 144.8);
Tailwind
colors: {
custom: {
50: '#649961',
500: '#166e22',
950: '#000000',
},
}SCSS
$custom: #166e22; $custom-light: #649961; $custom-dark: #000000;
JSON
{
"hex": "#166e22",
"rgb": {
"r": 22,
"g": 110,
"b": 34
},
"hsl": {
"h": 128.182,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47172,
"c": 0.13712,
"h": 144.8
},
"luminance": 0.11438
}Semantic roles & 50–950 ramp
primary
#166E22
secondary
#A43C96
accent
#3ED2EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79