#166D31#166D31
#166D31 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.123 H 148.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #166D31 |
|---|---|
| RGB | rgb(22, 109, 49) |
| HSL | hsl(139, 66%, 26%) |
| HSV | hsv(139, 80%, 43%) |
| CMYK | cmyk(79.8%, 0%, 55%, 57.3%) |
| CIE-LAB | lab(40.13, -39.01, 26.33) |
| CIE-LCH | lch(40.13, 47.07, 145.98°) |
| OKLab | oklab(47.08% -0.1049 0.0635) |
| OKLCH | oklch(47.08% 0.123 148.8) |
| XYZ | xyz(6.3534, 11.3289, 4.7570) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.46
Spruce
#0A5F38
ΔE00 6.48
Pine
#2B5D34
ΔE00 6.68
Darkgreen
#006400
ΔE00 6.74
Forest Green
#2D5A27
ΔE00 7.12
Jungle Green
#048243
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166D31 #6D1652
analogous
#266D16 #166D31 #166D5C
triadic
#166D31 #31166D #6D3116
tetradic
#166D31 #16266D #6D1652 #6D5C16
square
#166D31 #16266D #6D1652 #6D5C16
split-complementary
#166D31 #5C166D #6D1626
monochromatic
#05190B #0C3A1A #166D31 #20A048 #2BD35F
Accessibility & contrast
On white
6.43
#166D31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#166D31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166D31
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166D31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166D31 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E632C
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166d31; /* rgb */ color: rgb(22, 109, 49); /* oklch */ color: oklch(47.1% 0.123 148.8);
Tailwind
colors: {
custom: {
50: '#63986a',
500: '#166d31',
950: '#000000',
},
}SCSS
$custom: #166d31; $custom-light: #63986a; $custom-dark: #000000;
JSON
{
"hex": "#166d31",
"rgb": {
"r": 22,
"g": 109,
"b": 49
},
"hsl": {
"h": 138.621,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.47081,
"c": 0.12259,
"h": 148.8
},
"luminance": 0.1133
}Semantic roles & 50–950 ramp
primary
#166D31
secondary
#A33C83
accent
#3EB4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A