#ecf470
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 | #ecf470 | |
| RGB | rgb(236 244 112) | |
| HSL | hsl(63.64 85.71% 69.8%) | |
| OKLCH | oklch(0.94 0.16 112.2) | |
| CMYK | cmyk(3.28% 0% 54.1% 4.31%) | |
| Android | #ffecf470 |
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.74: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="#ecf470"
Gradient stop
<stop stop-color="#ecf470"/>
CSS variable + fill
:root { --c: #ecf470; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf470; background-color: #ecf470; bg-[#ecf470]