#166617#166617
#166617 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.135 H 143.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #166617 |
|---|---|
| RGB | rgb(22, 102, 23) |
| HSL | hsl(121, 65%, 24%) |
| HSV | hsv(121, 78%, 40%) |
| CMYK | cmyk(78.4%, 0%, 77.5%, 60%) |
| CIE-LAB | lab(37.36, -39.75, 35.82) |
| CIE-LCH | lch(37.36, 53.51, 137.98°) |
| OKLab | oklab(44.7% -0.1079 0.0812) |
| OKLCH | oklch(44.7% 0.135 143) |
| XYZ | xyz(5.2366, 9.7346, 2.4134) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.32
Deep Green
#02590F
ΔE00 4.27
Forest
#0B5509
ΔE00 5.41
Forest Green
#2D5A27
ΔE00 6.29
Pine
#2B5D34
ΔE00 7.88
Darkish Green
#287C37
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166617 #661665
analogous
#3D6616 #166617 #16663F
triadic
#166617 #171666 #661716
tetradic
#166617 #163D66 #661665 #663F16
square
#166617 #163D66 #661665 #663F16
split-complementary
#166617 #3F1666 #66163D
monochromatic
#051906 #0B340C #166617 #219822 #2CCB2E
Accessibility & contrast
On white
7.13
#166617 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#166617 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166617
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166617 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#5F561F
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166617; /* rgb */ color: rgb(22, 102, 23); /* oklch */ color: oklch(44.7% 0.135 143.0);
Tailwind
colors: {
custom: {
50: '#62935a',
500: '#166617',
950: '#000000',
},
}SCSS
$custom: #166617; $custom-light: #62935a; $custom-dark: #000000;
JSON
{
"hex": "#166617",
"rgb": {
"r": 22,
"g": 102,
"b": 23
},
"hsl": {
"h": 120.75,
"s": 64.516,
"l": 24.314
},
"oklch": {
"l": 0.44697,
"c": 0.13499,
"h": 143
},
"luminance": 0.09735
}Semantic roles & 50–950 ramp
primary
#166617
secondary
#9D3B9B
accent
#40E5E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79