#fcc978
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 | #fcc978 | |
| RGB | rgb(252 201 120) | |
| HSL | hsl(36.82 95.65% 72.94%) | |
| OKLCH | oklch(0.86 0.11 77.89) | |
| CMYK | cmyk(0% 20.24% 52.38% 1.18%) | |
| Android | #fffcc978 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.76: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="#fcc978"
Gradient stop
<stop stop-color="#fcc978"/>
CSS variable + fill
:root { --c: #fcc978; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fcc978; background-color: #fcc978; bg-[#fcc978]