#ecf0bc
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 | #ecf0bc | |
| RGB | rgb(236 240 188) | |
| HSL | hsl(64.62 63.41% 83.92%) | |
| OKLCH | oklch(0.94 0.07 111.27) | |
| CMYK | cmyk(1.67% 0% 21.67% 5.88%) | |
| Android | #ffecf0bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.75: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="#ecf0bc"
Gradient stop
<stop stop-color="#ecf0bc"/>
CSS variable + fill
:root { --c: #ecf0bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf0bc; background-color: #ecf0bc; bg-[#ecf0bc]