#21987C#21987C
#21987C is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.109 H 172.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #21987C |
|---|---|
| RGB | rgb(33, 152, 124) |
| HSL | hsl(166, 64%, 36%) |
| HSV | hsv(166, 78%, 60%) |
| CMYK | cmyk(78.3%, 0%, 18.4%, 40.4%) |
| CIE-LAB | lab(56.32, -38.60, 5.71) |
| CIE-LCH | lch(56.32, 39.02, 171.59°) |
| OKLab | oklab(60.97% -0.1085 0.0145) |
| OKLCH | oklch(60.97% 0.109 172.4) |
| XYZ | xyz(15.4916, 24.2331, 22.9259) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.98
Viridian
#1E9167
ΔE00 5.16
Teal (survey)
#029386
ΔE00 5.49
Blue Green
#0F9B8E
ΔE00 5.53
Bluish Green
#10A674
ΔE00 6.89
Grey Teal
#5E9B8A
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21987C #98213D
analogous
#219841 #21987C #217998
triadic
#21987C #7C2198 #987C21
tetradic
#21987C #412198 #98213D #799821
square
#21987C #412198 #98213D #799821
split-complementary
#21987C #982179 #984121
monochromatic
#0B332A #166653 #21987C #2CCAA5 #59DBBC
Accessibility & contrast
On white
3.59
#21987C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#21987C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21987C
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21987C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21987C | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #21987c; /* rgb */ color: rgb(33, 152, 124); /* oklch */ color: oklch(61.0% 0.109 172.4);
Tailwind
colors: {
custom: {
50: '#71b7a1',
500: '#21987c',
950: '#000000',
},
}SCSS
$custom: #21987c; $custom-light: #71b7a1; $custom-dark: #000000;
JSON
{
"hex": "#21987c",
"rgb": {
"r": 33,
"g": 152,
"b": 124
},
"hsl": {
"h": 165.882,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.60971,
"c": 0.10943,
"h": 172.4
},
"luminance": 0.24235
}Semantic roles & 50–950 ramp
primary
#21987C
secondary
#BF566F
accent
#4068E7
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E