#166C40#166C40
#166C40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.1% C 0.106 H 155.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #166C40 |
|---|---|
| RGB | rgb(22, 108, 64) |
| HSL | hsl(149, 66%, 25%) |
| HSV | hsv(149, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 40.7%, 57.6%) |
| CIE-LAB | lab(40.02, -35.78, 17.73) |
| CIE-LCH | lch(40.02, 39.93, 153.64°) |
| OKLab | oklab(47.07% -0.0965 0.0443) |
| OKLCH | oklch(47.07% 0.106 155.4) |
| XYZ | xyz(6.6182, 11.2651, 6.6751) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.35
Pine
#2B5D34
ΔE00 5.80
Hunter Green
#355E3B
ΔE00 6.59
Darkish Green
#287C37
ΔE00 7.61
Forest Green
#2D5A27
ΔE00 7.89
Jungle Green
#048243
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C40 #6C1642
analogous
#176C16 #166C40 #166C6B
triadic
#166C40 #40166C #6C4016
tetradic
#166C40 #16176C #6C1642 #6C6B16
square
#166C40 #16176C #6C1642 #6C6B16
split-complementary
#166C40 #6B166C #6C1617
monochromatic
#05190F #0C3922 #166C40 #209F5E #2BD27C
Accessibility & contrast
On white
6.46
#166C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#166C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C40
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C40 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166c40; /* rgb */ color: rgb(22, 108, 64); /* oklch */ color: oklch(47.1% 0.106 155.4);
Tailwind
colors: {
custom: {
50: '#629775',
500: '#166c40',
950: '#000000',
},
}SCSS
$custom: #166c40; $custom-light: #629775; $custom-dark: #000000;
JSON
{
"hex": "#166c40",
"rgb": {
"r": 22,
"g": 108,
"b": 64
},
"hsl": {
"h": 149.302,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.47074,
"c": 0.10619,
"h": 155.4
},
"luminance": 0.11266
}Semantic roles & 50–950 ramp
primary
#166C40
secondary
#A23C70
accent
#3F96E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B