#21845E#21845E
#21845E is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.107 H 162.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #21845E |
|---|---|
| RGB | rgb(33, 132, 94) |
| HSL | hsl(157, 60%, 32%) |
| HSV | hsv(157, 75%, 52%) |
| CMYK | cmyk(75%, 0%, 28.8%, 48.2%) |
| CIE-LAB | lab(49.05, -37.47, 12.63) |
| CIE-LCH | lch(49.05, 39.54, 161.38°) |
| OKLab | oklab(54.77% -0.1026 0.0322) |
| OKLCH | oklch(54.77% 0.107 162.6) |
| XYZ | xyz(10.8977, 17.6327, 13.4166) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 1.50
Sea Green
#2E8B57
ΔE00 4.45
Viridian
#1E9167
ΔE00 4.63
Jungle Green
#048243
ΔE00 6.31
Ocean Green
#3D9973
ΔE00 7.85
Dark Sage
#598556
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21845E #842147
analogous
#21842D #21845E #217884
triadic
#21845E #5E2184 #845E21
tetradic
#21845E #2D2184 #842147 #788421
square
#21845E #2D2184 #842147 #788421
split-complementary
#21845E #842178 #842D21
monochromatic
#092218 #15533B #21845E #2DB581 #4DD29F
Accessibility & contrast
On white
4.64
#21845E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#21845E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21845E
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21845E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21845E | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827A5C
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #21845e; /* rgb */ color: rgb(33, 132, 94); /* oklch */ color: oklch(54.8% 0.107 162.6);
Tailwind
colors: {
custom: {
50: '#6ca88b',
500: '#21845e',
950: '#000000',
},
}SCSS
$custom: #21845e; $custom-light: #6ca88b; $custom-dark: #000000;
JSON
{
"hex": "#21845e",
"rgb": {
"r": 33,
"g": 132,
"b": 94
},
"hsl": {
"h": 156.97,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.54769,
"c": 0.10748,
"h": 162.6
},
"luminance": 0.17634
}Semantic roles & 50–950 ramp
primary
#21845E
secondary
#B64B74
accent
#4581E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D