#166A1F#166A1F
#166A1F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.134 H 144.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #166A1F |
|---|---|
| RGB | rgb(22, 106, 31) |
| HSL | hsl(126, 66%, 25%) |
| HSV | hsv(126, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(38.86, -40.38, 33.94) |
| CIE-LCH | lch(38.86, 52.75, 139.96°) |
| OKLab | oklab(45.96% -0.1092 0.0783) |
| OKLCH | oklch(45.96% 0.134 144.4) |
| XYZ | xyz(5.7318, 10.5769, 3.0355) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.58
Deep Green
#02590F
ΔE00 5.52
Darkish Green
#287C37
ΔE00 6.54
Forest
#0B5509
ΔE00 6.77
Forest Green
#2D5A27
ΔE00 6.84
Tree Green
#2A7E19
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A1F #6A1661
analogous
#376A16 #166A1F #166A49
triadic
#166A1F #1F166A #6A1F16
tetradic
#166A1F #16376A #6A1661 #6A4916
square
#166A1F #16376A #6A1661 #6A4916
split-complementary
#166A1F #49166A #6A1637
monochromatic
#051907 #0B3710 #166A1F #219D2E #2BCF3D
Accessibility & contrast
On white
6.74
#166A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#166A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A1F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A1F | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a1f; /* rgb */ color: rgb(22, 106, 31); /* oklch */ color: oklch(46.0% 0.134 144.4);
Tailwind
colors: {
custom: {
50: '#63965f',
500: '#166a1f',
950: '#000000',
},
}SCSS
$custom: #166a1f; $custom-light: #63965f; $custom-dark: #000000;
JSON
{
"hex": "#166a1f",
"rgb": {
"r": 22,
"g": 106,
"b": 31
},
"hsl": {
"h": 126.429,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.45961,
"c": 0.13434,
"h": 144.4
},
"luminance": 0.10578
}Semantic roles & 50–950 ramp
primary
#166A1F
secondary
#A03B96
accent
#3FD6E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79