#166F23#166F23
#166F23 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.138 H 144.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #166F23 |
|---|---|
| RGB | rgb(22, 111, 35) |
| HSL | hsl(129, 67%, 26%) |
| HSV | hsv(129, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 68.5%, 56.5%) |
| CIE-LAB | lab(40.67, -41.73, 34.07) |
| CIE-LCH | lch(40.67, 53.87, 140.77°) |
| OKLab | oklab(47.48% -0.1126 0.079) |
| OKLCH | oklch(47.48% 0.138 144.9) |
| XYZ | xyz(6.3182, 11.6601, 3.5074) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.77
Darkish Green
#287C37
ΔE00 4.99
Tree Green
#2A7E19
ΔE00 6.29
Deep Green
#02590F
ΔE00 7.15
Green
#008000
ΔE00 7.32
Jungle Green
#048243
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F23 #6F1662
analogous
#356F16 #166F23 #166F4F
triadic
#166F23 #23166F #6F2316
tetradic
#166F23 #16356F #6F1662 #6F4F16
square
#166F23 #16356F #6F1662 #6F4F16
split-complementary
#166F23 #4F166F #6F1635
monochromatic
#051A08 #0C3C13 #166F23 #20A233 #2BD543
Accessibility & contrast
On white
6.30
#166F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#166F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F23
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F23 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f23; /* rgb */ color: rgb(22, 111, 35); /* oklch */ color: oklch(47.5% 0.138 144.9);
Tailwind
colors: {
custom: {
50: '#649962',
500: '#166f23',
950: '#000000',
},
}SCSS
$custom: #166f23; $custom-light: #649962; $custom-dark: #000000;
JSON
{
"hex": "#166f23",
"rgb": {
"r": 22,
"g": 111,
"b": 35
},
"hsl": {
"h": 128.764,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47477,
"c": 0.1376,
"h": 144.9
},
"luminance": 0.11661
}Semantic roles & 50–950 ramp
primary
#166F23
secondary
#A53C96
accent
#3ED1EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79