#fcc42f
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 | #fcc42f | |
| RGB | rgb(252 196 47) | |
| HSL | hsl(43.61 97.16% 58.63%) | |
| OKLCH | oklch(0.85 0.16 85.98) | |
| CMYK | cmyk(0% 22.22% 81.35% 1.18%) | |
| Android | #fffcc42f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.07: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="#fcc42f"
Gradient stop
<stop stop-color="#fcc42f"/>
CSS variable + fill
:root { --c: #fcc42f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fcc42f; background-color: #fcc42f; bg-[#fcc42f]