#21815E#21815E
#21815E is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.103 H 163.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #21815E |
|---|---|
| RGB | rgb(33, 129, 94) |
| HSL | hsl(158, 59%, 32%) |
| HSV | hsv(158, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 27.1%, 49.4%) |
| CIE-LAB | lab(48.05, -36.17, 11.23) |
| CIE-LCH | lch(48.05, 37.88, 162.75°) |
| OKLab | oklab(53.95% -0.0993 0.0287) |
| OKLCH | oklch(53.95% 0.103 163.9) |
| XYZ | xyz(10.4967, 16.8308, 13.2830) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.68
Sea Green
#2E8B57
ΔE00 5.65
Viridian
#1E9167
ΔE00 5.80
Jungle Green
#048243
ΔE00 6.93
Dark Sage
#598556
ΔE00 8.82
Ocean Green
#3D9973
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21815E #812144
analogous
#21812E #21815E #217481
triadic
#21815E #5E2181 #815E21
tetradic
#21815E #2E2181 #812144 #748121
square
#21815E #2E2181 #812144 #748121
split-complementary
#21815E #812174 #812E21
monochromatic
#082017 #15503A #21815E #2DB282 #4BD1A0
Accessibility & contrast
On white
4.81
#21815E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#21815E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21815E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21815E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21815E | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775C
Deuteranopia (green-blind)
#726E60
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #21815e; /* rgb */ color: rgb(33, 129, 94); /* oklch */ color: oklch(53.9% 0.103 163.9);
Tailwind
colors: {
custom: {
50: '#6ba68b',
500: '#21815e',
950: '#000000',
},
}SCSS
$custom: #21815e; $custom-light: #6ba68b; $custom-dark: #000000;
JSON
{
"hex": "#21815e",
"rgb": {
"r": 33,
"g": 129,
"b": 94
},
"hsl": {
"h": 158.125,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.53946,
"c": 0.10339,
"h": 163.9
},
"luminance": 0.16832
}Semantic roles & 50–950 ramp
primary
#21815E
secondary
#B44A71
accent
#457FE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D