#ecf74c
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 | #ecf74c | |
| RGB | rgb(236 247 76) | |
| HSL | hsl(63.86 91.44% 63.33%) | |
| OKLCH | oklch(0.94 0.19 113.09) | |
| CMYK | cmyk(4.45% 0% 69.23% 3.14%) | |
| Android | #ffecf74c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.97: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="#ecf74c"
Gradient stop
<stop stop-color="#ecf74c"/>
CSS variable + fill
:root { --c: #ecf74c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf74c; background-color: #ecf74c; bg-[#ecf74c]