#166A1A#166A1A
#166A1A is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.138 H 143.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #166A1A |
|---|---|
| RGB | rgb(22, 106, 26) |
| HSL | hsl(123, 66%, 25%) |
| HSV | hsv(123, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 75.5%, 58.4%) |
| CIE-LAB | lab(38.82, -40.90, 36.08) |
| CIE-LCH | lch(38.82, 54.54, 138.58°) |
| OKLab | oklab(45.91% -0.1108 0.0821) |
| OKLCH | oklch(45.91% 0.138 143.5) |
| XYZ | xyz(5.6710, 10.5526, 2.7151) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.98
Deep Green
#02590F
ΔE00 5.53
Forest
#0B5509
ΔE00 6.71
Darkish Green
#287C37
ΔE00 6.81
Forest Green
#2D5A27
ΔE00 7.19
Tree Green
#2A7E19
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A1A #6A1666
analogous
#3C6A16 #166A1A #166A44
triadic
#166A1A #1A166A #6A1A16
tetradic
#166A1A #163C6A #6A1666 #6A4416
square
#166A1A #163C6A #6A1666 #6A4416
split-complementary
#166A1A #44166A #6A163C
monochromatic
#051906 #0B370E #166A1A #219D26 #2BCF33
Accessibility & contrast
On white
6.75
#166A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A1A
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A1A | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a1a; /* rgb */ color: rgb(22, 106, 26); /* oklch */ color: oklch(45.9% 0.138 143.5);
Tailwind
colors: {
custom: {
50: '#63965c',
500: '#166a1a',
950: '#000000',
},
}SCSS
$custom: #166a1a; $custom-light: #63965c; $custom-dark: #000000;
JSON
{
"hex": "#166a1a",
"rgb": {
"r": 22,
"g": 106,
"b": 26
},
"hsl": {
"h": 122.857,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.45912,
"c": 0.13794,
"h": 143.5
},
"luminance": 0.10553
}Semantic roles & 50–950 ramp
primary
#166A1A
secondary
#A03B9C
accent
#3FE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79