#ffdd34
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 | #ffdd34 | |
| RGB | rgb(255 221 52) | |
| HSL | hsl(49.95 100% 60.2%) | |
| OKLCH | oklch(0.9 0.17 96.82) | |
| CMYK | cmyk(0% 13.33% 79.61% 0%) | |
| Android | #ffffdd34 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.64: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="#ffdd34"
Gradient stop
<stop stop-color="#ffdd34"/>
CSS variable + fill
:root { --c: #ffdd34; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffdd34; background-color: #ffdd34; bg-[#ffdd34]