#166E1F#166E1F
#166E1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.139 H 144.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #166E1F |
|---|---|
| RGB | rgb(22, 110, 31) |
| HSL | hsl(126, 67%, 26%) |
| HSV | hsv(126, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.28, -41.81, 35.47) |
| CIE-LCH | lch(40.28, 54.83, 139.69°) |
| OKLab | oklab(47.14% -0.1131 0.0815) |
| OKLCH | oklch(47.14% 0.139 144.2) |
| XYZ | xyz(6.1537, 11.4206, 3.1761) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.17
Darkish Green
#287C37
ΔE00 5.49
Tree Green
#2A7E19
ΔE00 6.30
Deep Green
#02590F
ΔE00 6.81
Green
#008000
ΔE00 7.26
Forest
#0B5509
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E1F #6E1665
analogous
#396E16 #166E1F #166E4B
triadic
#166E1F #1F166E #6E1F16
tetradic
#166E1F #16396E #6E1665 #6E4B16
square
#166E1F #16396E #6E1665 #6E4B16
split-complementary
#166E1F #4B166E #6E1639
monochromatic
#051A07 #0C3B11 #166E1F #20A12D #2AD43C
Accessibility & contrast
On white
6.39
#166E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#166E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E1F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E1F | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e1f; /* rgb */ color: rgb(22, 110, 31); /* oklch */ color: oklch(47.1% 0.139 144.2);
Tailwind
colors: {
custom: {
50: '#64995f',
500: '#166e1f',
950: '#000000',
},
}SCSS
$custom: #166e1f; $custom-light: #64995f; $custom-dark: #000000;
JSON
{
"hex": "#166e1f",
"rgb": {
"r": 22,
"g": 110,
"b": 31
},
"hsl": {
"h": 126.136,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47141,
"c": 0.13938,
"h": 144.2
},
"luminance": 0.11421
}Semantic roles & 50–950 ramp
primary
#166E1F
secondary
#A43C99
accent
#3ED8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79