#21786A#21786A
#21786A is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.083 H 179.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #21786A |
|---|---|
| RGB | rgb(33, 120, 106) |
| HSL | hsl(170, 57%, 30%) |
| HSV | hsv(170, 73%, 47%) |
| CMYK | cmyk(72.5%, 0%, 11.7%, 52.9%) |
| CIE-LAB | lab(45.35, -28.85, 0.32) |
| CIE-LCH | lch(45.35, 28.85, 179.37°) |
| OKLab | oklab(51.85% -0.0834 0.0004) |
| OKLCH | oklch(51.85% 0.083 179.7) |
| XYZ | xyz(9.9439, 14.7957, 15.9647) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Aquamarine
#017371
ΔE00 5.34
Bluegreen
#017A79
ΔE00 5.60
Deep Turquoise
#017374
ΔE00 6.55
Teal
#008080
ΔE00 6.69
Dark Green Blue
#1F6357
ΔE00 7.25
Greenish Blue
#0B8B87
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21786A #78212F
analogous
#21783F #21786A #215A78
triadic
#21786A #6A2178 #786A21
tetradic
#21786A #3F2178 #78212F #5A7821
square
#21786A #3F2178 #78212F #5A7821
split-complementary
#21786A #78215A #783F21
monochromatic
#071815 #144840 #21786A #2EA894 #47CCB7
Accessibility & contrast
On white
5.30
#21786A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#21786A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21786A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21786A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21786A | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #21786a; /* rgb */ color: rgb(33, 120, 106); /* oklch */ color: oklch(51.8% 0.083 179.7);
Tailwind
colors: {
custom: {
50: '#6a9f94',
500: '#21786a',
950: '#000000',
},
}SCSS
$custom: #21786a; $custom-light: #6a9f94; $custom-dark: #000000;
JSON
{
"hex": "#21786a",
"rgb": {
"r": 33,
"g": 120,
"b": 106
},
"hsl": {
"h": 170.345,
"s": 56.863,
"l": 30
},
"oklch": {
"l": 0.51845,
"c": 0.0834,
"h": 179.7
},
"luminance": 0.14797
}Semantic roles & 50–950 ramp
primary
#21786A
secondary
#AB4A59
accent
#4860E0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E