#e2ab54
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 | #e2ab54 | |
| RGB | rgb(226 171 84) | |
| HSL | hsl(36.76 71% 60.78%) | |
| OKLCH | oklch(0.78 0.12 76.65) | |
| CMYK | cmyk(0% 24.34% 62.83% 11.37%) | |
| Android | #ffe2ab54 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.06:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.18: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="#e2ab54"
Gradient stop
<stop stop-color="#e2ab54"/>
CSS variable + fill
:root { --c: #e2ab54; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e2ab54; background-color: #e2ab54; bg-[#e2ab54]