#ecec8f
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 | #ecec8f | |
| RGB | rgb(236 236 143) | |
| HSL | hsl(60 70.99% 74.31%) | |
| OKLCH | oklch(0.92 0.12 108.46) | |
| CMYK | cmyk(0% 0% 39.41% 7.45%) | |
| Android | #ffecec8f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.96: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="#ecec8f"
Gradient stop
<stop stop-color="#ecec8f"/>
CSS variable + fill
:root { --c: #ecec8f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecec8f; background-color: #ecec8f; bg-[#ecec8f]