#166F42#166F42
#166F42 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.108 H 155.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #166F42 |
|---|---|
| RGB | rgb(22, 111, 66) |
| HSL | hsl(150, 67%, 26%) |
| HSV | hsv(150, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 40.5%, 56.5%) |
| CIE-LAB | lab(41.11, -36.59, 18.01) |
| CIE-LCH | lch(41.11, 40.78, 153.80°) |
| OKLab | oklab(47.98% -0.0987 0.045) |
| OKLCH | oklch(47.98% 0.108 155.5) |
| XYZ | xyz(6.9980, 11.9320, 7.0875) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.35
Pine
#2B5D34
ΔE00 6.69
Darkish Green
#287C37
ΔE00 6.88
Jungle Green
#048243
ΔE00 7.15
Hunter Green
#355E3B
ΔE00 7.36
Forest Green
#2D5A27
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F42 #6F1643
analogous
#166F16 #166F42 #166F6E
triadic
#166F42 #42166F #6F4216
tetradic
#166F42 #16166F #6F1643 #6F6E16
square
#166F42 #16166F #6F1643 #6F6E16
split-complementary
#166F42 #6E166F #6F1616
monochromatic
#051A0F #0C3C24 #166F42 #20A260 #2BD57F
Accessibility & contrast
On white
6.20
#166F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#166F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F42
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F42 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #166f42; /* rgb */ color: rgb(22, 111, 66); /* oklch */ color: oklch(48.0% 0.108 155.5);
Tailwind
colors: {
custom: {
50: '#639977',
500: '#166f42',
950: '#000000',
},
}SCSS
$custom: #166f42; $custom-light: #639977; $custom-dark: #000000;
JSON
{
"hex": "#166f42",
"rgb": {
"r": 22,
"g": 111,
"b": 66
},
"hsl": {
"h": 149.663,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47981,
"c": 0.10848,
"h": 155.5
},
"luminance": 0.11933
}Semantic roles & 50–950 ramp
primary
#166F42
secondary
#A53C71
accent
#3E95EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B