#ecd45d
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 | #ecd45d | |
| RGB | rgb(236 212 93) | |
| HSL | hsl(49.93 79.01% 64.51%) | |
| OKLCH | oklch(0.87 0.14 97.95) | |
| CMYK | cmyk(0% 10.17% 60.59% 7.45%) | |
| Android | #ffecd45d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.14: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="#ecd45d"
Gradient stop
<stop stop-color="#ecd45d"/>
CSS variable + fill
:root { --c: #ecd45d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecd45d; background-color: #ecd45d; bg-[#ecd45d]