#21817F#21817F
#21817F is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.0% C 0.085 H 192.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21817F |
|---|---|
| RGB | rgb(33, 129, 127) |
| HSL | hsl(179, 59%, 32%) |
| HSV | hsv(179, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 1.6%, 49.4%) |
| CIE-LAB | lab(48.95, -27.01, -6.80) |
| CIE-LCH | lch(48.95, 27.86, 194.14°) |
| OKLab | oklab(54.99% -0.0829 -0.019) |
| OKLCH | oklch(54.99% 0.085 192.9) |
| XYZ | xyz(12.3065, 17.5547, 22.8144) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 1.43
Bluegreen
#017A79
ΔE00 2.93
Dark Cyan
#0A888A
ΔE00 3.06
Greenish Blue
#0B8B87
ΔE00 3.77
Darkcyan
#008B8B
ΔE00 3.78
Deep Aqua
#08787F
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21817F #812123
analogous
#21814F #21817F #215381
triadic
#21817F #7F2181 #817F21
tetradic
#21817F #4F2181 #812123 #538121
square
#21817F #4F2181 #812123 #538121
split-complementary
#21817F #812153 #814F21
monochromatic
#08201F #15504F #21817F #2DB2AF #4BD1CE
Accessibility & contrast
On white
4.66
#21817F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#21817F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21817F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21817F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21817F | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7F
Deuteranopia (green-blind)
#6B7080
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21817f; /* rgb */ color: rgb(33, 129, 127); /* oklch */ color: oklch(55.0% 0.085 192.9);
Tailwind
colors: {
custom: {
50: '#6da6a4',
500: '#21817f',
950: '#000000',
},
}SCSS
$custom: #21817f; $custom-light: #6da6a4; $custom-dark: #000000;
JSON
{
"hex": "#21817f",
"rgb": {
"r": 33,
"g": 129,
"b": 127
},
"hsl": {
"h": 178.75,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.54986,
"c": 0.08506,
"h": 192.9
},
"luminance": 0.17556
}Semantic roles & 50–950 ramp
primary
#21817F
secondary
#B44A4C
accent
#4549E2
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F