#21796F#21796F
#21796F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.082 H 184.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #21796F |
|---|---|
| RGB | rgb(33, 121, 111) |
| HSL | hsl(173, 57%, 30%) |
| HSV | hsv(173, 73%, 47%) |
| CMYK | cmyk(72.7%, 0%, 8.3%, 52.5%) |
| CIE-LAB | lab(45.83, -27.89, -1.96) |
| CIE-LCH | lch(45.83, 27.95, 184.01°) |
| OKLab | oklab(52.28% -0.082 -0.0057) |
| OKLCH | oklch(52.28% 0.082 184) |
| XYZ | xyz(10.3324, 15.1446, 17.4145) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 3.92
Dark Aquamarine
#017371
ΔE00 4.05
Teal
#008080
ΔE00 5.03
Deep Turquoise
#017374
ΔE00 5.13
Greenish Blue
#0B8B87
ΔE00 7.17
Deep Aqua
#08787F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21796F #79212B
analogous
#217943 #21796F #215779
triadic
#21796F #6F2179 #796F21
tetradic
#21796F #432179 #79212B #577921
square
#21796F #432179 #79212B #577921
split-complementary
#21796F #792157 #794321
monochromatic
#071917 #144943 #21796F #2EA99B #47CDBE
Accessibility & contrast
On white
5.21
#21796F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#21796F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21796F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21796F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21796F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #21796f; /* rgb */ color: rgb(33, 121, 111); /* oklch */ color: oklch(52.3% 0.082 184.0);
Tailwind
colors: {
custom: {
50: '#6ba098',
500: '#21796f',
950: '#000000',
},
}SCSS
$custom: #21796f; $custom-light: #6ba098; $custom-dark: #000000;
JSON
{
"hex": "#21796f",
"rgb": {
"r": 33,
"g": 121,
"b": 111
},
"hsl": {
"h": 173.182,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.52283,
"c": 0.08221,
"h": 184
},
"luminance": 0.15146
}Semantic roles & 50–950 ramp
primary
#21796F
secondary
#AC4A55
accent
#4759E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E