#21997B#21997B
#21997B is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.2% C 0.111 H 171.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #21997B |
|---|---|
| RGB | rgb(33, 153, 123) |
| HSL | hsl(165, 65%, 36%) |
| HSV | hsv(165, 78%, 60%) |
| CMYK | cmyk(78.4%, 0%, 19.6%, 40%) |
| CIE-LAB | lab(56.62, -39.30, 6.70) |
| CIE-LCH | lch(56.62, 39.87, 170.32°) |
| OKLab | oklab(61.21% -0.11 0.0171) |
| OKLCH | oklch(61.21% 0.111 171.2) |
| XYZ | xyz(15.5917, 24.5340, 22.6488) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.47
Viridian
#1E9167
ΔE00 4.83
Blue Green
#0F9B8E
ΔE00 6.08
Teal (survey)
#029386
ΔE00 6.15
Bluish Green
#10A674
ΔE00 6.23
Teal Green
#25A36F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21997B #99213F
analogous
#21993F #21997B #217B99
triadic
#21997B #7B2199 #997B21
tetradic
#21997B #3F2199 #99213F #7B9921
square
#21997B #3F2199 #99213F #7B9921
split-complementary
#21997B #99217B #993F21
monochromatic
#0B342A #166753 #21997B #2CCBA3 #59DBBB
Accessibility & contrast
On white
3.55
#21997B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#21997B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21997B
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21997B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21997B | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948E7A
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #21997b; /* rgb */ color: rgb(33, 153, 123); /* oklch */ color: oklch(61.2% 0.111 171.2);
Tailwind
colors: {
custom: {
50: '#71b8a1',
500: '#21997b',
950: '#000000',
},
}SCSS
$custom: #21997b; $custom-light: #71b8a1; $custom-dark: #000000;
JSON
{
"hex": "#21997b",
"rgb": {
"r": 33,
"g": 153,
"b": 123
},
"hsl": {
"h": 165,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.61207,
"c": 0.11131,
"h": 171.2
},
"luminance": 0.24536
}Semantic roles & 50–950 ramp
primary
#21997B
secondary
#BF5671
accent
#406AE8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E