#21837F#21837F
#21837F is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.087 H 190.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #21837F |
|---|---|
| RGB | rgb(33, 131, 127) |
| HSL | hsl(178, 60%, 32%) |
| HSV | hsv(178, 75%, 51%) |
| CMYK | cmyk(74.8%, 0%, 3.1%, 48.6%) |
| CIE-LAB | lab(49.60, -28.00, -5.84) |
| CIE-LCH | lch(49.60, 28.61, 191.78°) |
| OKLab | oklab(55.51% -0.085 -0.0163) |
| OKLCH | oklch(55.51% 0.087 190.9) |
| XYZ | xyz(12.5725, 18.0867, 22.9030) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 2.20
Greenish Blue
#0B8B87
ΔE00 2.96
Dark Cyan
#0A888A
ΔE00 3.09
Darkcyan
#008B8B
ΔE00 3.39
Bluegreen
#017A79
ΔE00 3.71
Dark Aquamarine
#017371
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21837F #832125
analogous
#21834E #21837F #215683
triadic
#21837F #7F2183 #837F21
tetradic
#21837F #4E2183 #832125 #568321
square
#21837F #4E2183 #832125 #568321
split-complementary
#21837F #832156 #834E21
monochromatic
#082120 #155250 #21837F #2DB4AE #4CD2CD
Accessibility & contrast
On white
4.55
#21837F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#21837F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21837F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21837F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21837F | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7C7F
Deuteranopia (green-blind)
#6D7280
Tritanopia (blue-blind)
#008782
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21837f; /* rgb */ color: rgb(33, 131, 127); /* oklch */ color: oklch(55.5% 0.087 190.9);
Tailwind
colors: {
custom: {
50: '#6ea7a4',
500: '#21837f',
950: '#000000',
},
}SCSS
$custom: #21837f; $custom-light: #6ea7a4; $custom-dark: #000000;
JSON
{
"hex": "#21837f",
"rgb": {
"r": 33,
"g": 131,
"b": 127
},
"hsl": {
"h": 177.551,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.55514,
"c": 0.0866,
"h": 190.9
},
"luminance": 0.18088
}Semantic roles & 50–950 ramp
primary
#21837F
secondary
#B54B4F
accent
#454BE3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F