#166917#166917
#166917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.139 H 143.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #166917 |
|---|---|
| RGB | rgb(22, 105, 23) |
| HSL | hsl(121, 65%, 25%) |
| HSV | hsv(121, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.44, -40.82, 36.91) |
| CIE-LCH | lch(38.44, 55.03, 137.88°) |
| OKLab | oklab(45.59% -0.1107 0.0834) |
| OKLCH | oklch(45.59% 0.139 143) |
| XYZ | xyz(5.5368, 10.3349, 2.5135) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.54
Deep Green
#02590F
ΔE00 5.26
Forest
#0B5509
ΔE00 6.39
Forest Green
#2D5A27
ΔE00 7.12
Darkish Green
#287C37
ΔE00 7.24
Tree Green
#2A7E19
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166917 #691668
analogous
#3E6916 #166917 #166941
triadic
#166917 #171669 #691716
tetradic
#166917 #163E69 #691668 #694116
square
#166917 #163E69 #691668 #694116
split-complementary
#166917 #411669 #69163E
monochromatic
#051906 #0B360C #166917 #219C22 #2BCE2D
Accessibility & contrast
On white
6.85
#166917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#166917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166917
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166917 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166917; /* rgb */ color: rgb(22, 105, 23); /* oklch */ color: oklch(45.6% 0.139 143.0);
Tailwind
colors: {
custom: {
50: '#63955a',
500: '#166917',
950: '#000000',
},
}SCSS
$custom: #166917; $custom-light: #63955a; $custom-dark: #000000;
JSON
{
"hex": "#166917",
"rgb": {
"r": 22,
"g": 105,
"b": 23
},
"hsl": {
"h": 120.723,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.4559,
"c": 0.13866,
"h": 143
},
"luminance": 0.10336
}Semantic roles & 50–950 ramp
primary
#166917
secondary
#9F3B9E
accent
#3FE6E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79