#ecd96d
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 | #ecd96d | |
| RGB | rgb(236 217 109) | |
| HSL | hsl(51.02 76.97% 67.65%) | |
| OKLCH | oklch(0.88 0.13 99.5) | |
| CMYK | cmyk(0% 8.05% 53.81% 7.45%) | |
| Android | #ffecd96d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.71: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="#ecd96d"
Gradient stop
<stop stop-color="#ecd96d"/>
CSS variable + fill
:root { --c: #ecd96d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecd96d; background-color: #ecd96d; bg-[#ecd96d]