#ffda51
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 | #ffda51 | |
| RGB | rgb(255 218 81) | |
| HSL | hsl(47.24 100% 65.88%) | |
| OKLCH | oklch(0.9 0.16 93.71) | |
| CMYK | cmyk(0% 14.51% 68.24% 0%) | |
| Android | #ffffda51 |
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.39: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="#ffda51"
Gradient stop
<stop stop-color="#ffda51"/>
CSS variable + fill
:root { --c: #ffda51; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffda51; background-color: #ffda51; bg-[#ffda51]