#21845C#21845C
#21845C is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.7% C 0.109 H 161.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #21845C |
|---|---|
| RGB | rgb(33, 132, 92) |
| HSL | hsl(156, 60%, 32%) |
| HSV | hsv(156, 75%, 52%) |
| CMYK | cmyk(75%, 0%, 30.3%, 48.2%) |
| CIE-LAB | lab(49.00, -37.95, 13.72) |
| CIE-LCH | lch(49.00, 40.35, 160.12°) |
| OKLab | oklab(54.72% -0.1036 0.0349) |
| OKLCH | oklch(54.72% 0.109 161.4) |
| XYZ | xyz(10.8091, 17.5973, 12.9501) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 1.30
Sea Green
#2E8B57
ΔE00 4.02
Viridian
#1E9167
ΔE00 4.64
Jungle Green
#048243
ΔE00 5.75
Ocean Green
#3D9973
ΔE00 7.94
Dark Sage
#598556
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21845C #842149
analogous
#21842B #21845C #217A84
triadic
#21845C #5C2184 #845C21
tetradic
#21845C #2B2184 #842149 #7A8421
square
#21845C #2B2184 #842149 #7A8421
split-complementary
#21845C #84217A #842B21
monochromatic
#092218 #15533A #21845C #2DB57E #4DD29D
Accessibility & contrast
On white
4.65
#21845C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#21845C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21845C
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21845C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21845C | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827A5A
Deuteranopia (green-blind)
#76715F
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21845c; /* rgb */ color: rgb(33, 132, 92); /* oklch */ color: oklch(54.7% 0.109 161.4);
Tailwind
colors: {
custom: {
50: '#6ca88a',
500: '#21845c',
950: '#000000',
},
}SCSS
$custom: #21845c; $custom-light: #6ca88a; $custom-dark: #000000;
JSON
{
"hex": "#21845c",
"rgb": {
"r": 33,
"g": 132,
"b": 92
},
"hsl": {
"h": 155.758,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.54719,
"c": 0.10928,
"h": 161.4
},
"luminance": 0.17599
}Semantic roles & 50–950 ramp
primary
#21845C
secondary
#B64B76
accent
#4585E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C