#21815B#21815B
#21815B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.106 H 162.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #21815B |
|---|---|
| RGB | rgb(33, 129, 91) |
| HSL | hsl(156, 59%, 32%) |
| HSV | hsv(156, 74%, 51%) |
| CMYK | cmyk(74.4%, 0%, 29.5%, 49.4%) |
| CIE-LAB | lab(47.98, -36.89, 12.88) |
| CIE-LCH | lch(47.98, 39.08, 160.76°) |
| OKLab | oklab(53.87% -0.1009 0.0328) |
| OKLCH | oklch(53.87% 0.106 162) |
| XYZ | xyz(10.3647, 16.7780, 12.5877) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.31
Sea Green
#2E8B57
ΔE00 5.02
Viridian
#1E9167
ΔE00 5.73
Jungle Green
#048243
ΔE00 6.05
Darkish Green
#287C37
ΔE00 8.26
Dark Sage
#598556
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21815B #812147
analogous
#21812B #21815B #217781
triadic
#21815B #5B2181 #815B21
tetradic
#21815B #2B2181 #812147 #778121
square
#21815B #2B2181 #812147 #778121
split-complementary
#21815B #812177 #812B21
monochromatic
#082016 #155039 #21815B #2DB27D #4BD19C
Accessibility & contrast
On white
4.82
#21815B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#21815B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21815B
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21815B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21815B | 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)
#7F7759
Deuteranopia (green-blind)
#736E5D
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #21815b; /* rgb */ color: rgb(33, 129, 91); /* oklch */ color: oklch(53.9% 0.106 162.0);
Tailwind
colors: {
custom: {
50: '#6ba689',
500: '#21815b',
950: '#000000',
},
}SCSS
$custom: #21815b; $custom-light: #6ba689; $custom-dark: #000000;
JSON
{
"hex": "#21815b",
"rgb": {
"r": 33,
"g": 129,
"b": 91
},
"hsl": {
"h": 156.25,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.53869,
"c": 0.10606,
"h": 162
},
"luminance": 0.16779
}Semantic roles & 50–950 ramp
primary
#21815B
secondary
#B44A74
accent
#4584E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C