#ecd950
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 | #ecd950 | |
| RGB | rgb(236 217 80) | |
| HSL | hsl(52.69 80.41% 61.96%) | |
| OKLCH | oklch(0.88 0.15 101.34) | |
| CMYK | cmyk(0% 8.05% 66.1% 7.45%) | |
| Android | #ffecd950 |
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.60: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="#ecd950"
Gradient stop
<stop stop-color="#ecd950"/>
CSS variable + fill
:root { --c: #ecd950; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecd950; background-color: #ecd950; bg-[#ecd950]