#e1c028
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 | #e1c028 | |
| RGB | rgb(225 192 40) | |
| HSL | hsl(49.3 75.51% 51.96%) | |
| OKLCH | oklch(0.81 0.16 95.6) | |
| CMYK | cmyk(0% 14.67% 82.22% 11.76%) | |
| Android | #ffe1c028 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.78:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.77: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="#e1c028"
Gradient stop
<stop stop-color="#e1c028"/>
CSS variable + fill
:root { --c: #e1c028; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e1c028; background-color: #e1c028; bg-[#e1c028]