#21786E#21786E
#21786E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 183.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #21786E |
|---|---|
| RGB | rgb(33, 120, 110) |
| HSL | hsl(173, 57%, 30%) |
| HSV | hsv(173, 73%, 47%) |
| CMYK | cmyk(72.5%, 0%, 8.3%, 52.9%) |
| CIE-LAB | lab(45.47, -27.69, -1.89) |
| CIE-LCH | lch(45.47, 27.75, 183.91°) |
| OKLab | oklab(51.98% -0.0814 -0.0055) |
| OKLCH | oklch(51.98% 0.082 183.9) |
| XYZ | xyz(10.1568, 14.8809, 17.0858) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Aquamarine
#017371
ΔE00 3.90
Bluegreen
#017A79
ΔE00 3.99
Deep Turquoise
#017374
ΔE00 5.01
Teal
#008080
ΔE00 5.24
Dark Aqua
#05696B
ΔE00 7.26
Deep Aqua
#08787F
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21786E #78212B
analogous
#217842 #21786E #215778
triadic
#21786E #6E2178 #786E21
tetradic
#21786E #422178 #78212B #577821
square
#21786E #422178 #78212B #577821
split-complementary
#21786E #782157 #784221
monochromatic
#071816 #144842 #21786E #2EA89A #47CCBD
Accessibility & contrast
On white
5.28
#21786E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#21786E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21786E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21786E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21786E | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #21786e; /* rgb */ color: rgb(33, 120, 110); /* oklch */ color: oklch(52.0% 0.082 183.9);
Tailwind
colors: {
custom: {
50: '#6a9f97',
500: '#21786e',
950: '#000000',
},
}SCSS
$custom: #21786e; $custom-light: #6a9f97; $custom-dark: #000000;
JSON
{
"hex": "#21786e",
"rgb": {
"r": 33,
"g": 120,
"b": 110
},
"hsl": {
"h": 173.103,
"s": 56.863,
"l": 30
},
"oklch": {
"l": 0.51979,
"c": 0.0816,
"h": 183.9
},
"luminance": 0.14882
}Semantic roles & 50–950 ramp
primary
#21786E
secondary
#AB4A55
accent
#4859E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E