#eaaf1b
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 | #eaaf1b | |
| RGB | rgb(234 175 27) | |
| HSL | hsl(42.9 83.13% 51.18%) | |
| OKLCH | oklch(0.79 0.16 83.16) | |
| CMYK | cmyk(0% 25.21% 88.46% 8.24%) | |
| Android | #ffeaaf1b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.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="#eaaf1b"
Gradient stop
<stop stop-color="#eaaf1b"/>
CSS variable + fill
:root { --c: #eaaf1b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eaaf1b; background-color: #eaaf1b; bg-[#eaaf1b]