#213e28
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #213e28 | |
| RGB | rgb(33 62 40) | |
| HSL | hsl(134.48 30.53% 18.63%) | |
| OKLCH | oklch(0.33 0.05 150.51) | |
| CMYK | cmyk(46.77% 0% 35.48% 75.69%) | |
| Android | #ff213e28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.78:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#213e28"
Gradient stop
<stop stop-color="#213e28"/>
CSS variable + fill
:root { --c: #213e28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #213e28; background-color: #213e28; bg-[#213e28]