#ffd524
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 | #ffd524 | |
| RGB | rgb(255 213 36) | |
| HSL | hsl(48.49 100% 57.06%) | |
| OKLCH | oklch(0.88 0.17 93.77) | |
| CMYK | cmyk(0% 16.47% 85.88% 0%) | |
| Android | #ffffd524 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.79: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="#ffd524"
Gradient stop
<stop stop-color="#ffd524"/>
CSS variable + fill
:root { --c: #ffd524; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffd524; background-color: #ffd524; bg-[#ffd524]