#166B2A#166B2A
#166B2A is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.126 H 146.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #166B2A |
|---|---|
| RGB | rgb(22, 107, 42) |
| HSL | hsl(134, 66%, 25%) |
| HSV | hsv(134, 79%, 42%) |
| CMYK | cmyk(79.4%, 0%, 60.7%, 58%) |
| CIE-LAB | lab(39.33, -39.34, 29.09) |
| CIE-LCH | lch(39.33, 48.93, 143.52°) |
| OKLab | oklab(46.39% -0.1059 0.069) |
| OKLCH | oklch(46.39% 0.126 146.9) |
| XYZ | xyz(6.0060, 10.8524, 3.9682) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.39
Darkish Green
#287C37
ΔE00 5.95
Deep Green
#02590F
ΔE00 6.25
Forest Green
#2D5A27
ΔE00 6.60
Pine
#2B5D34
ΔE00 6.78
Spruce
#0A5F38
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166B2A #6B1657
analogous
#2C6B16 #166B2A #166B54
triadic
#166B2A #2A166B #6B2A16
tetradic
#166B2A #162C6B #6B1657 #6B5416
square
#166B2A #162C6B #6B1657 #6B5416
split-complementary
#166B2A #54166B #6B162C
monochromatic
#05190A #0C3816 #166B2A #209E3E #2BD152
Accessibility & contrast
On white
6.62
#166B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#166B2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166B2A
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166B2A | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6124
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166b2a; /* rgb */ color: rgb(22, 107, 42); /* oklch */ color: oklch(46.4% 0.126 146.9);
Tailwind
colors: {
custom: {
50: '#639666',
500: '#166b2a',
950: '#000000',
},
}SCSS
$custom: #166b2a; $custom-light: #639666; $custom-dark: #000000;
JSON
{
"hex": "#166b2a",
"rgb": {
"r": 22,
"g": 107,
"b": 42
},
"hsl": {
"h": 134.118,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.4639,
"c": 0.12642,
"h": 146.9
},
"luminance": 0.10853
}Semantic roles & 50–950 ramp
primary
#166B2A
secondary
#A13B89
accent
#3FC1E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A