#ffcc3c
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 | #ffcc3c | |
| RGB | rgb(255 204 60) | |
| HSL | hsl(44.31 100% 61.76%) | |
| OKLCH | oklch(0.87 0.16 88.03) | |
| CMYK | cmyk(0% 20% 76.47% 0%) | |
| Android | #ffffcc3c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.50:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.95: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="#ffcc3c"
Gradient stop
<stop stop-color="#ffcc3c"/>
CSS variable + fill
:root { --c: #ffcc3c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffcc3c; background-color: #ffcc3c; bg-[#ffcc3c]