#ebcb51
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 | #ebcb51 | |
| RGB | rgb(235 203 81) | |
| HSL | hsl(47.53 79.38% 61.96%) | |
| OKLCH | oklch(0.85 0.14 94.37) | |
| CMYK | cmyk(0% 13.62% 65.53% 7.84%) | |
| Android | #ffebcb51 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.19: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="#ebcb51"
Gradient stop
<stop stop-color="#ebcb51"/>
CSS variable + fill
:root { --c: #ebcb51; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ebcb51; background-color: #ebcb51; bg-[#ebcb51]