#cccb12
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 | #cccb12 | |
| RGB | rgb(204 203 18) | |
| HSL | hsl(59.68 83.78% 43.53%) | |
| OKLCH | oklch(0.82 0.17 109.35) | |
| CMYK | cmyk(0% 0.49% 91.18% 20%) | |
| Android | #ffcccb12 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.11: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="#cccb12"
Gradient stop
<stop stop-color="#cccb12"/>
CSS variable + fill
:root { --c: #cccb12; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cccb12; background-color: #cccb12; bg-[#cccb12]