#166E40#166E40
#166E40 is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.6% C 0.109 H 154.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #166E40 |
|---|---|
| RGB | rgb(22, 110, 64) |
| HSL | hsl(149, 67%, 26%) |
| HSV | hsv(149, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 41.8%, 56.9%) |
| CIE-LAB | lab(40.72, -36.60, 18.66) |
| CIE-LCH | lch(40.72, 41.08, 152.99°) |
| OKLab | oklab(47.65% -0.0987 0.0465) |
| OKLCH | oklch(47.65% 0.109 154.8) |
| XYZ | xyz(6.8316, 11.6918, 6.7462) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.08
Pine
#2B5D34
ΔE00 6.35
Darkish Green
#287C37
ΔE00 6.87
Hunter Green
#355E3B
ΔE00 7.13
Jungle Green
#048243
ΔE00 7.34
Forest Green
#2D5A27
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E40 #6E1644
analogous
#186E16 #166E40 #166E6C
triadic
#166E40 #40166E #6E4016
tetradic
#166E40 #16186E #6E1644 #6E6C16
square
#166E40 #16186E #6E1644 #6E6C16
split-complementary
#166E40 #6C166E #6E1618
monochromatic
#051A0F #0C3B22 #166E40 #20A15E #2AD47B
Accessibility & contrast
On white
6.29
#166E40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#166E40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E40
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E40 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E643D
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166e40; /* rgb */ color: rgb(22, 110, 64); /* oklch */ color: oklch(47.6% 0.109 154.8);
Tailwind
colors: {
custom: {
50: '#639875',
500: '#166e40',
950: '#000000',
},
}SCSS
$custom: #166e40; $custom-light: #639875; $custom-dark: #000000;
JSON
{
"hex": "#166e40",
"rgb": {
"r": 22,
"g": 110,
"b": 64
},
"hsl": {
"h": 148.636,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.4765,
"c": 0.10906,
"h": 154.8
},
"luminance": 0.11693
}Semantic roles & 50–950 ramp
primary
#166E40
secondary
#A43C72
accent
#3E98EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B