#ebaa17
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 | #ebaa17 | |
| RGB | rgb(235 170 23) | |
| HSL | hsl(41.6 84.13% 50.59%) | |
| OKLCH | oklch(0.78 0.16 80.11) | |
| CMYK | cmyk(0% 27.66% 90.21% 7.84%) | |
| Android | #ffebaa17 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.03:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.29: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="#ebaa17"
Gradient stop
<stop stop-color="#ebaa17"/>
CSS variable + fill
:root { --c: #ebaa17; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ebaa17; background-color: #ebaa17; bg-[#ebaa17]