#ecbe30
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 | #ecbe30 | |
| RGB | rgb(236 190 48) | |
| HSL | hsl(45.32 83.19% 55.69%) | |
| OKLCH | oklch(0.82 0.16 89.34) | |
| CMYK | cmyk(0% 19.49% 79.66% 7.45%) | |
| Android | #ffecbe30 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.97: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="#ecbe30"
Gradient stop
<stop stop-color="#ecbe30"/>
CSS variable + fill
:root { --c: #ecbe30; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecbe30; background-color: #ecbe30; bg-[#ecbe30]