#21845F#21845F
#21845F is a mid, moderate teal. Relative luminance 0.177; OKLCH L 54.8% C 0.107 H 163.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #21845F |
|---|---|
| RGB | rgb(33, 132, 95) |
| HSL | hsl(158, 60%, 32%) |
| HSV | hsv(158, 75%, 52%) |
| CMYK | cmyk(75%, 0%, 28%, 48.2%) |
| CIE-LAB | lab(49.07, -37.23, 12.08) |
| CIE-LCH | lch(49.07, 39.15, 162.02°) |
| OKLab | oklab(54.79% -0.102 0.0308) |
| OKLCH | oklch(54.79% 0.107 163.2) |
| XYZ | xyz(10.9428, 17.6508, 13.6545) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 1.67
Viridian
#1E9167
ΔE00 4.66
Sea Green
#2E8B57
ΔE00 4.69
Jungle Green
#048243
ΔE00 6.59
Ocean Green
#3D9973
ΔE00 7.82
Dark Sage
#598556
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21845F #842146
analogous
#21842E #21845F #217784
triadic
#21845F #5F2184 #845F21
tetradic
#21845F #2E2184 #842146 #778421
square
#21845F #2E2184 #842146 #778421
split-complementary
#21845F #842177 #842E21
monochromatic
#092219 #15533C #21845F #2DB582 #4DD2A1
Accessibility & contrast
On white
4.64
#21845F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#21845F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21845F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21845F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21845F | 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)
#827A5D
Deuteranopia (green-blind)
#757161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #21845f; /* rgb */ color: rgb(33, 132, 95); /* oklch */ color: oklch(54.8% 0.107 163.2);
Tailwind
colors: {
custom: {
50: '#6ca88c',
500: '#21845f',
950: '#000000',
},
}SCSS
$custom: #21845f; $custom-light: #6ca88c; $custom-dark: #000000;
JSON
{
"hex": "#21845f",
"rgb": {
"r": 33,
"g": 132,
"b": 95
},
"hsl": {
"h": 157.576,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.54794,
"c": 0.10659,
"h": 163.2
},
"luminance": 0.17652
}Semantic roles & 50–950 ramp
primary
#21845F
secondary
#B64B73
accent
#4580E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D