#166D1F#166D1F
#166D1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.138 H 144.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #166D1F |
|---|---|
| RGB | rgb(22, 109, 31) |
| HSL | hsl(126, 66%, 26%) |
| HSV | hsv(126, 80%, 43%) |
| CMYK | cmyk(79.8%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(39.93, -41.46, 35.09) |
| CIE-LCH | lch(39.93, 54.32, 139.76°) |
| OKLab | oklab(46.85% -0.1121 0.0807) |
| OKLCH | oklch(46.85% 0.138 144.2) |
| XYZ | xyz(6.0464, 11.2061, 3.1404) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.99
Darkish Green
#287C37
ΔE00 5.75
Deep Green
#02590F
ΔE00 6.48
Tree Green
#2A7E19
ΔE00 6.64
Green
#008000
ΔE00 7.59
Forest
#0B5509
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166D1F #6D1664
analogous
#386D16 #166D1F #166D4A
triadic
#166D1F #1F166D #6D1F16
tetradic
#166D1F #16386D #6D1664 #6D4A16
square
#166D1F #16386D #6D1664 #6D4A16
split-complementary
#166D1F #4A166D #6D1638
monochromatic
#051907 #0C3A11 #166D1F #20A02D #2BD33C
Accessibility & contrast
On white
6.48
#166D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#166D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166D1F
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166D1F | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166d1f; /* rgb */ color: rgb(22, 109, 31); /* oklch */ color: oklch(46.8% 0.138 144.2);
Tailwind
colors: {
custom: {
50: '#64985f',
500: '#166d1f',
950: '#000000',
},
}SCSS
$custom: #166d1f; $custom-light: #64985f; $custom-dark: #000000;
JSON
{
"hex": "#166d1f",
"rgb": {
"r": 22,
"g": 109,
"b": 31
},
"hsl": {
"h": 126.207,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.46846,
"c": 0.13812,
"h": 144.2
},
"luminance": 0.11207
}Semantic roles & 50–950 ramp
primary
#166D1F
secondary
#A33C98
accent
#3ED8E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79