#ddfa52
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 | #ddfa52 | |
| RGB | rgb(221 250 82) | |
| HSL | hsl(70.36 94.38% 65.1%) | |
| OKLCH | oklch(0.93 0.19 118.7) | |
| CMYK | cmyk(11.6% 0% 67.2% 1.96%) | |
| Android | #ffddfa52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.17:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.87: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="#ddfa52"
Gradient stop
<stop stop-color="#ddfa52"/>
CSS variable + fill
:root { --c: #ddfa52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddfa52; background-color: #ddfa52; bg-[#ddfa52]