#cc9f05
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 | #cc9f05 | |
| RGB | rgb(204 159 5) | |
| HSL | hsl(46.43 95.22% 40.98%) | |
| OKLCH | oklch(0.72 0.15 88.1) | |
| CMYK | cmyk(0% 22.06% 97.55% 20%) | |
| Android | #ffcc9f05 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.52: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="#cc9f05"
Gradient stop
<stop stop-color="#cc9f05"/>
CSS variable + fill
:root { --c: #cc9f05; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc9f05; background-color: #cc9f05; bg-[#cc9f05]