#e5b021
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 | #e5b021 | |
| RGB | rgb(229 176 33) | |
| HSL | hsl(43.78 79.03% 51.37%) | |
| OKLCH | oklch(0.78 0.15 85.52) | |
| CMYK | cmyk(0% 23.14% 85.59% 10.2%) | |
| Android | #ffe5b021 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.56: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="#e5b021"
Gradient stop
<stop stop-color="#e5b021"/>
CSS variable + fill
:root { --c: #e5b021; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e5b021; background-color: #e5b021; bg-[#e5b021]