#166F40#166F40
#166F40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.9% C 0.110 H 154.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #166F40 |
|---|---|
| RGB | rgb(22, 111, 64) |
| HSL | hsl(148, 67%, 26%) |
| HSV | hsv(148, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.07, -37.01, 19.12) |
| CIE-LCH | lch(41.07, 41.66, 152.68°) |
| OKLab | oklab(47.94% -0.0997 0.0476) |
| OKLCH | oklch(47.94% 0.11 154.5) |
| XYZ | xyz(6.9401, 11.9088, 6.7824) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.45
Darkish Green
#287C37
ΔE00 6.50
Pine
#2B5D34
ΔE00 6.64
Jungle Green
#048243
ΔE00 6.96
Hunter Green
#355E3B
ΔE00 7.42
Forest Green
#2D5A27
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F40 #6F1645
analogous
#186F16 #166F40 #166F6C
triadic
#166F40 #40166F #6F4016
tetradic
#166F40 #16186F #6F1645 #6F6C16
square
#166F40 #16186F #6F1645 #6F6C16
split-complementary
#166F40 #6C166F #6F1618
monochromatic
#051A0F #0C3C23 #166F40 #20A25D #2BD57B
Accessibility & contrast
On white
6.21
#166F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#166F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F40
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F40 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #166f40; /* rgb */ color: rgb(22, 111, 64); /* oklch */ color: oklch(47.9% 0.110 154.5);
Tailwind
colors: {
custom: {
50: '#639975',
500: '#166f40',
950: '#000000',
},
}SCSS
$custom: #166f40; $custom-light: #639975; $custom-dark: #000000;
JSON
{
"hex": "#166f40",
"rgb": {
"r": 22,
"g": 111,
"b": 64
},
"hsl": {
"h": 148.315,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47938,
"c": 0.11048,
"h": 154.5
},
"luminance": 0.1191
}Semantic roles & 50–950 ramp
primary
#166F40
secondary
#A53C73
accent
#3E99EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B