#21987F#21987F
#21987F is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.107 H 174.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #21987F |
|---|---|
| RGB | rgb(33, 152, 127) |
| HSL | hsl(167, 64%, 36%) |
| HSV | hsv(167, 78%, 60%) |
| CMYK | cmyk(78.3%, 0%, 16.4%, 40.4%) |
| CIE-LAB | lab(56.40, -37.81, 4.11) |
| CIE-LCH | lch(56.40, 38.03, 173.80°) |
| OKLab | oklab(61.06% -0.107 0.0103) |
| OKLCH | oklch(61.06% 0.107 174.5) |
| XYZ | xyz(15.6842, 24.3102, 23.9403) |
| Luminance | 0.2431 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Blue Green
#0F9B8E
ΔE00 4.56
Teal (survey)
#029386
ΔE00 4.58
Ocean Green
#3D9973
ΔE00 4.83
Viridian
#1E9167
ΔE00 6.04
Dusty Teal
#4C9085
ΔE00 6.55
Grey Teal
#5E9B8A
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21987F #98213A
analogous
#219844 #21987F #217698
triadic
#21987F #7F2198 #987F21
tetradic
#21987F #442198 #98213A #769821
square
#21987F #442198 #98213A #769821
split-complementary
#21987F #982176 #984421
monochromatic
#0B332B #166655 #21987F #2CCAA9 #59DBBF
Accessibility & contrast
On white
3.58
#21987F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#21987F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21987F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21987F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21987F | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 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)
#928E7E
Deuteranopia (green-blind)
#838381
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #21987f; /* rgb */ color: rgb(33, 152, 127); /* oklch */ color: oklch(61.1% 0.107 174.5);
Tailwind
colors: {
custom: {
50: '#71b7a4',
500: '#21987f',
950: '#000000',
},
}SCSS
$custom: #21987f; $custom-light: #71b7a4; $custom-dark: #000000;
JSON
{
"hex": "#21987f",
"rgb": {
"r": 33,
"g": 152,
"b": 127
},
"hsl": {
"h": 167.395,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.61059,
"c": 0.10749,
"h": 174.5
},
"luminance": 0.24312
}Semantic roles & 50–950 ramp
primary
#21987F
secondary
#BF566C
accent
#4064E7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F