#ebc03e
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 | #ebc03e | |
| RGB | rgb(235 192 62) | |
| HSL | hsl(45.09 81.22% 58.24%) | |
| OKLCH | oklch(0.82 0.15 89.79) | |
| CMYK | cmyk(0% 18.3% 73.62% 7.84%) | |
| Android | #ffebc03e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.14: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="#ebc03e"
Gradient stop
<stop stop-color="#ebc03e"/>
CSS variable + fill
:root { --c: #ebc03e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ebc03e; background-color: #ebc03e; bg-[#ebc03e]