#ecf396
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 | #ecf396 | |
| RGB | rgb(236 243 150) | |
| HSL | hsl(64.52 79.49% 77.06%) | |
| OKLCH | oklch(0.94 0.12 112.12) | |
| CMYK | cmyk(2.88% 0% 38.27% 4.71%) | |
| Android | #ffecf396 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.17:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.82: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="#ecf396"
Gradient stop
<stop stop-color="#ecf396"/>
CSS variable + fill
:root { --c: #ecf396; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf396; background-color: #ecf396; bg-[#ecf396]