#166C31#166C31
#166C31 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.121 H 148.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #166C31 |
|---|---|
| RGB | rgb(22, 108, 49) |
| HSL | hsl(139, 66%, 25%) |
| HSV | hsv(139, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 54.6%, 57.6%) |
| CIE-LAB | lab(39.78, -38.63, 25.90) |
| CIE-LCH | lch(39.78, 46.51, 146.16°) |
| OKLab | oklab(46.79% -0.1038 0.0625) |
| OKLCH | oklch(46.79% 0.121 148.9) |
| XYZ | xyz(6.2473, 11.1167, 4.7216) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.81
Spruce
#0A5F38
ΔE00 6.14
Pine
#2B5D34
ΔE00 6.35
Darkgreen
#006400
ΔE00 6.74
Forest Green
#2D5A27
ΔE00 6.84
Deep Green
#02590F
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C31 #6C1651
analogous
#266C16 #166C31 #166C5C
triadic
#166C31 #31166C #6C3116
tetradic
#166C31 #16266C #6C1651 #6C5C16
square
#166C31 #16266C #6C1651 #6C5C16
split-complementary
#166C31 #5C166C #6C1626
monochromatic
#05190C #0C391A #166C31 #209F48 #2BD25F
Accessibility & contrast
On white
6.51
#166C31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#166C31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C31
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C31 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166c31; /* rgb */ color: rgb(22, 108, 49); /* oklch */ color: oklch(46.8% 0.121 148.9);
Tailwind
colors: {
custom: {
50: '#63976a',
500: '#166c31',
950: '#000000',
},
}SCSS
$custom: #166c31; $custom-light: #63976a; $custom-dark: #000000;
JSON
{
"hex": "#166c31",
"rgb": {
"r": 22,
"g": 108,
"b": 49
},
"hsl": {
"h": 138.837,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46789,
"c": 0.12121,
"h": 148.9
},
"luminance": 0.11117
}Semantic roles & 50–950 ramp
primary
#166C31
secondary
#A23C82
accent
#3FB4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A