#f5dd4f
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 | #f5dd4f | |
| RGB | rgb(245 221 79) | |
| HSL | hsl(51.33 89.25% 63.53%) | |
| OKLCH | oklch(0.89 0.16 99.53) | |
| CMYK | cmyk(0% 9.8% 67.76% 3.92%) | |
| Android | #fff5dd4f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.33: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="#f5dd4f"
Gradient stop
<stop stop-color="#f5dd4f"/>
CSS variable + fill
:root { --c: #f5dd4f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f5dd4f; background-color: #f5dd4f; bg-[#f5dd4f]