#21815C#21815C
#21815C is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.105 H 162.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #21815C |
|---|---|
| RGB | rgb(33, 129, 92) |
| HSL | hsl(157, 59%, 32%) |
| HSV | hsv(157, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 28.7%, 49.4%) |
| CIE-LAB | lab(48.00, -36.66, 12.33) |
| CIE-LCH | lch(48.00, 38.67, 161.41°) |
| OKLab | oklab(53.9% -0.1004 0.0314) |
| OKLCH | oklch(53.9% 0.105 162.6) |
| XYZ | xyz(10.4081, 16.7953, 12.8164) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.40
Sea Green
#2E8B57
ΔE00 5.22
Viridian
#1E9167
ΔE00 5.74
Jungle Green
#048243
ΔE00 6.34
Dark Sage
#598556
ΔE00 8.53
Darkish Green
#287C37
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21815C #812146
analogous
#21812C #21815C #217681
triadic
#21815C #5C2181 #815C21
tetradic
#21815C #2C2181 #812146 #768121
square
#21815C #2C2181 #812146 #768121
split-complementary
#21815C #812176 #812C21
monochromatic
#082016 #155039 #21815C #2DB27F #4BD19E
Accessibility & contrast
On white
4.82
#21815C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#21815C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21815C
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21815C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21815C | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#736E5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #21815c; /* rgb */ color: rgb(33, 129, 92); /* oklch */ color: oklch(53.9% 0.105 162.6);
Tailwind
colors: {
custom: {
50: '#6ba68a',
500: '#21815c',
950: '#000000',
},
}SCSS
$custom: #21815c; $custom-light: #6ba68a; $custom-dark: #000000;
JSON
{
"hex": "#21815c",
"rgb": {
"r": 33,
"g": 129,
"b": 92
},
"hsl": {
"h": 156.875,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.53895,
"c": 0.10516,
"h": 162.6
},
"luminance": 0.16797
}Semantic roles & 50–950 ramp
primary
#21815C
secondary
#B44A73
accent
#4582E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C