#166E23#166E23
#166E23 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.136 H 145.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #166E23 |
|---|---|
| RGB | rgb(22, 110, 35) |
| HSL | hsl(129, 67%, 26%) |
| HSV | hsv(129, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 68.2%, 56.9%) |
| CIE-LAB | lab(40.32, -41.37, 33.68) |
| CIE-LCH | lch(40.32, 53.34, 140.85°) |
| OKLab | oklab(47.18% -0.1116 0.0782) |
| OKLCH | oklch(47.18% 0.136 145) |
| XYZ | xyz(6.2097, 11.4431, 3.4712) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.60
Darkish Green
#287C37
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 6.62
Deep Green
#02590F
ΔE00 6.83
Green
#008000
ΔE00 7.65
Forest Green
#2D5A27
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E23 #6E1661
analogous
#356E16 #166E23 #166E4F
triadic
#166E23 #23166E #6E2316
tetradic
#166E23 #16356E #6E1661 #6E4F16
square
#166E23 #16356E #6E1661 #6E4F16
split-complementary
#166E23 #4F166E #6E1635
monochromatic
#051A08 #0C3B13 #166E23 #20A133 #2AD443
Accessibility & contrast
On white
6.39
#166E23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#166E23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E23
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E23 | 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)
#70631A
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e23; /* rgb */ color: rgb(22, 110, 35); /* oklch */ color: oklch(47.2% 0.136 145.0);
Tailwind
colors: {
custom: {
50: '#649961',
500: '#166e23',
950: '#000000',
},
}SCSS
$custom: #166e23; $custom-light: #649961; $custom-dark: #000000;
JSON
{
"hex": "#166e23",
"rgb": {
"r": 22,
"g": 110,
"b": 35
},
"hsl": {
"h": 128.864,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47183,
"c": 0.13632,
"h": 145
},
"luminance": 0.11444
}Semantic roles & 50–950 ramp
primary
#166E23
secondary
#A43C95
accent
#3ED0EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79