#fdec51
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 | #fdec51 | |
| RGB | rgb(253 236 81) | |
| HSL | hsl(54.07 97.73% 65.49%) | |
| OKLCH | oklch(0.93 0.17 102.98) | |
| CMYK | cmyk(0% 6.72% 67.98% 0.78%) | |
| Android | #fffdec51 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.29: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="#fdec51"
Gradient stop
<stop stop-color="#fdec51"/>
CSS variable + fill
:root { --c: #fdec51; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fdec51; background-color: #fdec51; bg-[#fdec51]