#ecdc8d
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 | #ecdc8d | |
| RGB | rgb(236 220 141) | |
| HSL | hsl(49.89 71.43% 73.92%) | |
| OKLCH | oklch(0.89 0.1 98.16) | |
| CMYK | cmyk(0% 6.78% 40.25% 7.45%) | |
| Android | #ffecdc8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.38:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.18: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="#ecdc8d"
Gradient stop
<stop stop-color="#ecdc8d"/>
CSS variable + fill
:root { --c: #ecdc8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecdc8d; background-color: #ecdc8d; bg-[#ecdc8d]