#21795A#21795A
#21795A is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.096 H 165.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #21795A |
|---|---|
| RGB | rgb(33, 121, 90) |
| HSL | hsl(159, 57%, 30%) |
| HSV | hsv(159, 73%, 47%) |
| CMYK | cmyk(72.7%, 0%, 25.6%, 52.5%) |
| CIE-LAB | lab(45.27, -33.62, 9.68) |
| CIE-LCH | lch(45.27, 34.98, 163.93°) |
| OKLab | oklab(51.64% -0.0927 0.0247) |
| OKLCH | oklch(51.64% 0.096 165.1) |
| XYZ | xyz(9.3090, 14.7352, 12.0244) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.48
Jungle Green
#048243
ΔE00 8.21
Sea Green
#2E8B57
ΔE00 8.22
Viridian
#1E9167
ΔE00 8.82
Dark Green Blue
#1F6357
ΔE00 9.61
Spruce
#0A5F38
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21795A #792140
analogous
#21792E #21795A #216C79
triadic
#21795A #5A2179 #795A21
tetradic
#21795A #2E2179 #792140 #6C7921
square
#21795A #2E2179 #792140 #6C7921
split-complementary
#21795A #79216C #792E21
monochromatic
#071912 #144936 #21795A #2EA97E #47CD9E
Accessibility & contrast
On white
5.32
#21795A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#21795A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21795A
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21795A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21795A | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#767058
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #21795a; /* rgb */ color: rgb(33, 121, 90); /* oklch */ color: oklch(51.6% 0.096 165.1);
Tailwind
colors: {
custom: {
50: '#69a088',
500: '#21795a',
950: '#000000',
},
}SCSS
$custom: #21795a; $custom-light: #69a088; $custom-dark: #000000;
JSON
{
"hex": "#21795a",
"rgb": {
"r": 33,
"g": 121,
"b": 90
},
"hsl": {
"h": 158.864,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.51638,
"c": 0.09591,
"h": 165.1
},
"luminance": 0.14736
}Semantic roles & 50–950 ramp
primary
#21795A
secondary
#AC4A6C
accent
#477DE0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C