#e2a527
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 | #e2a527 | |
| RGB | rgb(226 165 39) | |
| HSL | hsl(40.43 76.33% 51.96%) | |
| OKLCH | oklch(0.76 0.15 79.81) | |
| CMYK | cmyk(0% 26.99% 82.74% 11.37%) | |
| Android | #ffe2a527 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.17:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.64: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="#e2a527"
Gradient stop
<stop stop-color="#e2a527"/>
CSS variable + fill
:root { --c: #e2a527; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e2a527; background-color: #e2a527; bg-[#e2a527]