#c4871f
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 | #c4871f | |
| RGB | rgb(196 135 31) | |
| HSL | hsl(37.82 72.69% 44.51%) | |
| OKLCH | oklch(0.67 0.13 74.54) | |
| CMYK | cmyk(0% 31.12% 84.18% 23.14%) | |
| Android | #ffc4871f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#c4871f"
Gradient stop
<stop stop-color="#c4871f"/>
CSS variable + fill
:root { --c: #c4871f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c4871f; background-color: #c4871f; bg-[#c4871f]