#20400d
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 | #20400d | |
| RGB | rgb(32 64 13) | |
| HSL | hsl(97.65 66.23% 15.1%) | |
| OKLCH | oklch(0.33 0.09 136.18) | |
| CMYK | cmyk(50% 0% 79.69% 74.9%) | |
| Android | #ff20400d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.80: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="#20400d"
Gradient stop
<stop stop-color="#20400d"/>
CSS variable + fill
:root { --c: #20400d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #20400d; background-color: #20400d; bg-[#20400d]