#166F17#166F17
#166F17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.146 H 143.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #166F17 |
|---|---|
| RGB | rgb(22, 111, 23) |
| HSL | hsl(121, 67%, 26%) |
| HSV | hsv(121, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(40.57, -42.91, 39.04) |
| CIE-LCH | lch(40.57, 58.01, 137.70°) |
| OKLab | oklab(47.37% -0.1164 0.0879) |
| OKLCH | oklch(47.37% 0.146 143) |
| XYZ | xyz(6.1696, 11.6006, 2.7244) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.89
Tree Green
#2A7E19
ΔE00 5.56
Darkish Green
#287C37
ΔE00 5.87
Green
#008000
ΔE00 6.36
Deep Green
#02590F
ΔE00 7.26
Dark Grass Green
#388004
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F17 #6F166E
analogous
#416F16 #166F17 #166F43
triadic
#166F17 #17166F #6F1716
tetradic
#166F17 #16416F #6F166E #6F4316
square
#166F17 #16416F #6F166E #6F4316
split-complementary
#166F17 #43166F #6F1641
monochromatic
#051A05 #0C3C0C #166F17 #20A222 #2BD52C
Accessibility & contrast
On white
6.32
#166F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#166F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F17
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F17 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f17; /* rgb */ color: rgb(22, 111, 23); /* oklch */ color: oklch(47.4% 0.146 143.0);
Tailwind
colors: {
custom: {
50: '#65995b',
500: '#166f17',
950: '#000000',
},
}SCSS
$custom: #166f17; $custom-light: #65995b; $custom-dark: #000000;
JSON
{
"hex": "#166f17",
"rgb": {
"r": 22,
"g": 111,
"b": 23
},
"hsl": {
"h": 120.674,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47366,
"c": 0.14588,
"h": 143
},
"luminance": 0.11601
}Semantic roles & 50–950 ramp
primary
#166F17
secondary
#A53CA4
accent
#3EE8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79