#ecd964
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 | #ecd964 | |
| RGB | rgb(236 217 100) | |
| HSL | hsl(51.62 78.16% 65.88%) | |
| OKLCH | oklch(0.88 0.14 100.18) | |
| CMYK | cmyk(0% 8.05% 57.63% 7.45%) | |
| Android | #ffecd964 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.67: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="#ecd964"
Gradient stop
<stop stop-color="#ecd964"/>
CSS variable + fill
:root { --c: #ecd964; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecd964; background-color: #ecd964; bg-[#ecd964]