#166C1F#166C1F
#166C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.137 H 144.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #166C1F |
|---|---|
| RGB | rgb(22, 108, 31) |
| HSL | hsl(126, 66%, 25%) |
| HSV | hsv(126, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(39.57, -41.10, 34.71) |
| CIE-LCH | lch(39.57, 53.80, 139.82°) |
| OKLab | oklab(46.55% -0.1111 0.0799) |
| OKLCH | oklch(46.55% 0.137 144.3) |
| XYZ | xyz(5.9404, 10.9939, 3.1050) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.82
Darkish Green
#287C37
ΔE00 6.00
Deep Green
#02590F
ΔE00 6.16
Tree Green
#2A7E19
ΔE00 6.97
Forest
#0B5509
ΔE00 7.40
Forest Green
#2D5A27
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C1F #6C1663
analogous
#386C16 #166C1F #166C4A
triadic
#166C1F #1F166C #6C1F16
tetradic
#166C1F #16386C #6C1663 #6C4A16
square
#166C1F #16386C #6C1663 #6C4A16
split-complementary
#166C1F #4A166C #6C1638
monochromatic
#051907 #0C3910 #166C1F #209F2E #2BD23C
Accessibility & contrast
On white
6.56
#166C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C1F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C1F | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c1f; /* rgb */ color: rgb(22, 108, 31); /* oklch */ color: oklch(46.6% 0.137 144.3);
Tailwind
colors: {
custom: {
50: '#64975f',
500: '#166c1f',
950: '#000000',
},
}SCSS
$custom: #166c1f; $custom-light: #64975f; $custom-dark: #000000;
JSON
{
"hex": "#166c1f",
"rgb": {
"r": 22,
"g": 108,
"b": 31
},
"hsl": {
"h": 126.279,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46551,
"c": 0.13687,
"h": 144.3
},
"luminance": 0.10995
}Semantic roles & 50–950 ramp
primary
#166C1F
secondary
#A23C98
accent
#3FD7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79