#fdd702
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 | #fdd702 | |
| RGB | rgb(253 215 2) | |
| HSL | hsl(50.92 98.43% 50%) | |
| OKLCH | oklch(0.88 0.18 96.04) | |
| CMYK | cmyk(0% 15.02% 99.21% 0.78%) | |
| Android | #fffdd702 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.40:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.89: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="#fdd702"
Gradient stop
<stop stop-color="#fdd702"/>
CSS variable + fill
:root { --c: #fdd702; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fdd702; background-color: #fdd702; bg-[#fdd702]