#166F2B#166F2B
#166F2B is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.131 H 146.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #166F2B |
|---|---|
| RGB | rgb(22, 111, 43) |
| HSL | hsl(134, 67%, 26%) |
| HSV | hsv(134, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 61.3%, 56.5%) |
| CIE-LAB | lab(40.76, -40.69, 30.25) |
| CIE-LCH | lch(40.76, 50.70, 143.37°) |
| OKLab | oklab(47.58% -0.1095 0.0717) |
| OKLCH | oklch(47.58% 0.131 146.8) |
| XYZ | xyz(6.4509, 11.7131, 4.2059) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.68
Darkgreen
#006400
ΔE00 5.82
Jungle Green
#048243
ΔE00 7.02
Tree Green
#2A7E19
ΔE00 7.17
Deep Green
#02590F
ΔE00 7.40
Forest Green
#2D5A27
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F2B #6F165A
analogous
#2D6F16 #166F2B #166F57
triadic
#166F2B #2B166F #6F2B16
tetradic
#166F2B #162D6F #6F165A #6F5716
square
#166F2B #162D6F #6F165A #6F5716
split-complementary
#166F2B #57166F #6F162D
monochromatic
#051A0A #0C3C17 #166F2B #20A23F #2BD553
Accessibility & contrast
On white
6.28
#166F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#166F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F2B
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F2B | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716424
Deuteranopia (green-blind)
#675D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f2b; /* rgb */ color: rgb(22, 111, 43); /* oklch */ color: oklch(47.6% 0.131 146.8);
Tailwind
colors: {
custom: {
50: '#649967',
500: '#166f2b',
950: '#000000',
},
}SCSS
$custom: #166f2b; $custom-light: #649967; $custom-dark: #000000;
JSON
{
"hex": "#166f2b",
"rgb": {
"r": 22,
"g": 111,
"b": 43
},
"hsl": {
"h": 134.157,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47576,
"c": 0.13087,
"h": 146.8
},
"luminance": 0.11714
}Semantic roles & 50–950 ramp
primary
#166F2B
secondary
#A53C8C
accent
#3EC1EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A