#21817B#21817B
#21817B is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.086 H 188.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21817B |
|---|---|
| RGB | rgb(33, 129, 123) |
| HSL | hsl(176, 59%, 32%) |
| HSV | hsv(176, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 4.7%, 49.4%) |
| CIE-LAB | lab(48.83, -28.23, -4.64) |
| CIE-LCH | lch(48.83, 28.61, 189.33°) |
| OKLab | oklab(54.84% -0.0848 -0.013) |
| OKLCH | oklch(54.84% 0.086 188.7) |
| XYZ | xyz(12.0509, 17.4525, 21.4686) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 2.64
Bluegreen
#017A79
ΔE00 3.42
Greenish Blue
#0B8B87
ΔE00 3.78
Dark Cyan
#0A888A
ΔE00 4.22
Darkcyan
#008B8B
ΔE00 4.46
Dark Aquamarine
#017371
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21817B #812127
analogous
#21814B #21817B #215781
triadic
#21817B #7B2181 #817B21
tetradic
#21817B #4B2181 #812127 #578121
square
#21817B #4B2181 #812127 #578121
split-complementary
#21817B #812157 #814B21
monochromatic
#08201E #15504D #21817B #2DB2A9 #4BD1C9
Accessibility & contrast
On white
4.68
#21817B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#21817B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21817B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21817B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21817B | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7B
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21817b; /* rgb */ color: rgb(33, 129, 123); /* oklch */ color: oklch(54.8% 0.086 188.7);
Tailwind
colors: {
custom: {
50: '#6da6a1',
500: '#21817b',
950: '#000000',
},
}SCSS
$custom: #21817b; $custom-light: #6da6a1; $custom-dark: #000000;
JSON
{
"hex": "#21817b",
"rgb": {
"r": 33,
"g": 129,
"b": 123
},
"hsl": {
"h": 176.25,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.54841,
"c": 0.08582,
"h": 188.7
},
"luminance": 0.17454
}Semantic roles & 50–950 ramp
primary
#21817B
secondary
#B44A51
accent
#454FE2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E