#21987E#21987E
#21987E is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.108 H 173.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #21987E |
|---|---|
| RGB | rgb(33, 152, 126) |
| HSL | hsl(167, 64%, 36%) |
| HSV | hsv(167, 78%, 60%) |
| CMYK | cmyk(78.3%, 0%, 17.1%, 40.4%) |
| CIE-LAB | lab(56.37, -38.07, 4.64) |
| CIE-LCH | lch(56.37, 38.36, 173.05°) |
| OKLab | oklab(61.03% -0.1075 0.0117) |
| OKLCH | oklch(61.03% 0.108 173.8) |
| XYZ | xyz(15.6194, 24.2843, 23.5987) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 4.53
Teal (survey)
#029386
ΔE00 4.88
Blue Green
#0F9B8E
ΔE00 4.88
Viridian
#1E9167
ΔE00 5.74
Grey Teal
#5E9B8A
ΔE00 6.74
Dusty Teal
#4C9085
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21987E #98213B
analogous
#219843 #21987E #217798
triadic
#21987E #7E2198 #987E21
tetradic
#21987E #432198 #98213B #779821
square
#21987E #432198 #98213B #779821
split-complementary
#21987E #982177 #984321
monochromatic
#0B332B #166654 #21987E #2CCAA8 #59DBBE
Accessibility & contrast
On white
3.59
#21987E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#21987E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21987E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21987E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21987E | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#838380
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #21987e; /* rgb */ color: rgb(33, 152, 126); /* oklch */ color: oklch(61.0% 0.108 173.8);
Tailwind
colors: {
custom: {
50: '#71b7a3',
500: '#21987e',
950: '#000000',
},
}SCSS
$custom: #21987e; $custom-light: #71b7a3; $custom-dark: #000000;
JSON
{
"hex": "#21987e",
"rgb": {
"r": 33,
"g": 152,
"b": 126
},
"hsl": {
"h": 166.891,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.6103,
"c": 0.10812,
"h": 173.8
},
"luminance": 0.24286
}Semantic roles & 50–950 ramp
primary
#21987E
secondary
#BF566D
accent
#4065E7
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F