#213918
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 | #213918 | |
| RGB | rgb(33 57 24) | |
| HSL | hsl(103.64 40.74% 15.88%) | |
| OKLCH | oklch(0.32 0.06 137.78) | |
| CMYK | cmyk(42.11% 0% 57.89% 77.65%) | |
| Android | #ff213918 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.66: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="#213918"
Gradient stop
<stop stop-color="#213918"/>
CSS variable + fill
:root { --c: #213918; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #213918; background-color: #213918; bg-[#213918]