#313306
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 | #313306 | |
| RGB | rgb(49 51 6) | |
| HSL | hsl(62.67 78.95% 11.18%) | |
| OKLCH | oklch(0.31 0.06 112.12) | |
| CMYK | cmyk(3.92% 0% 88.24% 80%) | |
| Android | #ff313306 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.60: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="#313306"
Gradient stop
<stop stop-color="#313306"/>
CSS variable + fill
:root { --c: #313306; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #313306; background-color: #313306; bg-[#313306]