#166A42#166A42
#166A42 is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.5% C 0.101 H 157.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #166A42 |
|---|---|
| RGB | rgb(22, 106, 66) |
| HSL | hsl(151, 66%, 25%) |
| HSV | hsv(151, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 37.7%, 58.4%) |
| CIE-LAB | lab(39.36, -34.50, 15.67) |
| CIE-LCH | lch(39.36, 37.90, 155.57°) |
| OKLab | oklab(46.54% -0.0933 0.0394) |
| OKLCH | oklch(46.54% 0.101 157.1) |
| XYZ | xyz(6.4676, 10.8712, 6.9107) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.65
Pine
#2B5D34
ΔE00 5.47
Hunter Green
#355E3B
ΔE00 6.10
Forest Green
#2D5A27
ΔE00 7.94
Darkish Green
#287C37
ΔE00 8.74
Jungle Green
#048243
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A42 #6A163E
analogous
#166A18 #166A42 #16686A
triadic
#166A42 #42166A #6A4216
tetradic
#166A42 #18166A #6A163E #686A16
square
#166A42 #18166A #6A163E #686A16
split-complementary
#166A42 #6A1668 #6A1816
monochromatic
#051910 #0B3722 #166A42 #219D62 #2BCF81
Accessibility & contrast
On white
6.62
#166A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#166A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A42
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A42 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#006960
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166a42; /* rgb */ color: rgb(22, 106, 66); /* oklch */ color: oklch(46.5% 0.101 157.1);
Tailwind
colors: {
custom: {
50: '#629576',
500: '#166a42',
950: '#000000',
},
}SCSS
$custom: #166a42; $custom-light: #629576; $custom-dark: #000000;
JSON
{
"hex": "#166a42",
"rgb": {
"r": 22,
"g": 106,
"b": 66
},
"hsl": {
"h": 151.429,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.46542,
"c": 0.1013,
"h": 157.1
},
"luminance": 0.10872
}Semantic roles & 50–950 ramp
primary
#166A42
secondary
#A03B6B
accent
#3F90E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B