#ffdd97
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 | #ffdd97 | |
| RGB | rgb(255 221 151) | |
| HSL | hsl(40.38 100% 79.61%) | |
| OKLCH | oklch(0.91 0.1 84.71) | |
| CMYK | cmyk(0% 13.33% 40.78% 0%) | |
| Android | #ffffdd97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.04: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="#ffdd97"
Gradient stop
<stop stop-color="#ffdd97"/>
CSS variable + fill
:root { --c: #ffdd97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffdd97; background-color: #ffdd97; bg-[#ffdd97]