#166717#166717
#166717 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.136 H 143.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #166717 |
|---|---|
| RGB | rgb(22, 103, 23) |
| HSL | hsl(121, 65%, 25%) |
| HSV | hsv(121, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(37.72, -40.11, 36.19) |
| CIE-LCH | lch(37.72, 54.02, 137.94°) |
| OKLab | oklab(45% -0.1088 0.0819) |
| OKLCH | oklch(45% 0.136 143) |
| XYZ | xyz(5.3354, 9.9323, 2.4464) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.34
Deep Green
#02590F
ΔE00 4.60
Forest
#0B5509
ΔE00 5.74
Forest Green
#2D5A27
ΔE00 6.56
Darkish Green
#287C37
ΔE00 7.76
Pine
#2B5D34
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166717 #671666
analogous
#3E6716 #166717 #166740
triadic
#166717 #171667 #671716
tetradic
#166717 #163E67 #671666 #674016
square
#166717 #163E67 #671666 #674016
split-complementary
#166717 #401667 #67163E
monochromatic
#051906 #0B350C #166717 #219922 #2CCC2E
Accessibility & contrast
On white
7.03
#166717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#166717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166717
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166717 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166717; /* rgb */ color: rgb(22, 103, 23); /* oklch */ color: oklch(45.0% 0.136 143.0);
Tailwind
colors: {
custom: {
50: '#63935a',
500: '#166717',
950: '#000000',
},
}SCSS
$custom: #166717; $custom-light: #63935a; $custom-dark: #000000;
JSON
{
"hex": "#166717",
"rgb": {
"r": 22,
"g": 103,
"b": 23
},
"hsl": {
"h": 120.741,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.44995,
"c": 0.13621,
"h": 143
},
"luminance": 0.09933
}Semantic roles & 50–950 ramp
primary
#166717
secondary
#9E3B9C
accent
#40E6E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79