#31422f
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 | #31422f | |
| RGB | rgb(49 66 47) | |
| HSL | hsl(113.68 16.81% 22.16%) | |
| OKLCH | oklch(0.36 0.04 142.04) | |
| CMYK | cmyk(25.76% 0% 28.79% 74.12%) | |
| Android | #ff31422f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.95: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="#31422f"
Gradient stop
<stop stop-color="#31422f"/>
CSS variable + fill
:root { --c: #31422f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31422f; background-color: #31422f; bg-[#31422f]