#166A2B#166A2B
#166A2B is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.1% C 0.124 H 147.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #166A2B |
|---|---|
| RGB | rgb(22, 106, 43) |
| HSL | hsl(135, 66%, 25%) |
| HSV | hsv(135, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 59.4%, 58.4%) |
| CIE-LAB | lab(38.99, -38.82, 28.16) |
| CIE-LCH | lch(38.99, 47.96, 144.04°) |
| OKLab | oklab(46.11% -0.1045 0.0671) |
| OKLCH | oklch(46.11% 0.124 147.3) |
| XYZ | xyz(5.9205, 10.6524, 4.0291) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.58
Deep Green
#02590F
ΔE00 6.09
Forest Green
#2D5A27
ΔE00 6.28
Darkish Green
#287C37
ΔE00 6.29
Pine
#2B5D34
ΔE00 6.36
Spruce
#0A5F38
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A2B #6A1655
analogous
#2B6A16 #166A2B #166A55
triadic
#166A2B #2B166A #6A2B16
tetradic
#166A2B #162B6A #6A1655 #6A5516
square
#166A2B #162B6A #6A1655 #6A5516
split-complementary
#166A2B #55166A #6A162B
monochromatic
#05190A #0B3716 #166A2B #219D40 #2BCF54
Accessibility & contrast
On white
6.71
#166A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#166A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A2B
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A2B | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6025
Deuteranopia (green-blind)
#625930
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #166a2b; /* rgb */ color: rgb(22, 106, 43); /* oklch */ color: oklch(46.1% 0.124 147.3);
Tailwind
colors: {
custom: {
50: '#629566',
500: '#166a2b',
950: '#000000',
},
}SCSS
$custom: #166a2b; $custom-light: #629566; $custom-dark: #000000;
JSON
{
"hex": "#166a2b",
"rgb": {
"r": 22,
"g": 106,
"b": 43
},
"hsl": {
"h": 135,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.4611,
"c": 0.12415,
"h": 147.3
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#166A2B
secondary
#A03B87
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A