#ddf498
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 | #ddf498 | |
| RGB | rgb(221 244 152) | |
| HSL | hsl(75 80.7% 77.65%) | |
| OKLCH | oklch(0.93 0.12 120.21) | |
| CMYK | cmyk(9.43% 0% 37.7% 4.31%) | |
| Android | #ffddf498 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.46: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="#ddf498"
Gradient stop
<stop stop-color="#ddf498"/>
CSS variable + fill
:root { --c: #ddf498; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddf498; background-color: #ddf498; bg-[#ddf498]