#166A1E#166A1E
#166A1E is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.135 H 144.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #166A1E |
|---|---|
| RGB | rgb(22, 106, 30) |
| HSL | hsl(126, 66%, 25%) |
| HSV | hsv(126, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 71.7%, 58.4%) |
| CIE-LAB | lab(38.85, -40.49, 34.38) |
| CIE-LCH | lch(38.85, 53.12, 139.67°) |
| OKLab | oklab(45.95% -0.1095 0.0791) |
| OKLCH | oklch(45.95% 0.135 144.2) |
| XYZ | xyz(5.7189, 10.5717, 2.9672) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.45
Deep Green
#02590F
ΔE00 5.51
Darkish Green
#287C37
ΔE00 6.59
Forest
#0B5509
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 6.91
Tree Green
#2A7E19
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A1E #6A1662
analogous
#386A16 #166A1E #166A48
triadic
#166A1E #1E166A #6A1E16
tetradic
#166A1E #16386A #6A1662 #6A4816
square
#166A1E #16386A #6A1662 #6A4816
split-complementary
#166A1E #48166A #6A1638
monochromatic
#051907 #0B3710 #166A1E #219D2C #2BCF3B
Accessibility & contrast
On white
6.74
#166A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A1E
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A1E | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F13
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a1e; /* rgb */ color: rgb(22, 106, 30); /* oklch */ color: oklch(46.0% 0.135 144.2);
Tailwind
colors: {
custom: {
50: '#63965e',
500: '#166a1e',
950: '#000000',
},
}SCSS
$custom: #166a1e; $custom-light: #63965e; $custom-dark: #000000;
JSON
{
"hex": "#166a1e",
"rgb": {
"r": 22,
"g": 106,
"b": 30
},
"hsl": {
"h": 125.714,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.4595,
"c": 0.1351,
"h": 144.2
},
"luminance": 0.10572
}Semantic roles & 50–950 ramp
primary
#166A1E
secondary
#A03B97
accent
#3FD8E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79