#cc7e12
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 | #cc7e12 | |
| RGB | rgb(204 126 18) | |
| HSL | hsl(34.84 83.78% 43.53%) | |
| OKLCH | oklch(0.66 0.14 66.26) | |
| CMYK | cmyk(0% 38.24% 91.18% 20%) | |
| Android | #ffcc7e12 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.20:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.56: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="#cc7e12"
Gradient stop
<stop stop-color="#cc7e12"/>
CSS variable + fill
:root { --c: #cc7e12; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc7e12; background-color: #cc7e12; bg-[#cc7e12]