#ecc23c
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 | #ecc23c | |
| RGB | rgb(236 194 60) | |
| HSL | hsl(45.68 82.24% 58.04%) | |
| OKLCH | oklch(0.83 0.15 90.65) | |
| CMYK | cmyk(0% 17.8% 74.58% 7.45%) | |
| Android | #ffecc23c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.70:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.34: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="#ecc23c"
Gradient stop
<stop stop-color="#ecc23c"/>
CSS variable + fill
:root { --c: #ecc23c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecc23c; background-color: #ecc23c; bg-[#ecc23c]