#ecf047
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 | #ecf047 | |
| RGB | rgb(236 240 71) | |
| HSL | hsl(61.42 84.92% 60.98%) | |
| OKLCH | oklch(0.92 0.18 110.83) | |
| CMYK | cmyk(1.67% 0% 70.42% 5.88%) | |
| Android | #ffecf047 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.12: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="#ecf047"
Gradient stop
<stop stop-color="#ecf047"/>
CSS variable + fill
:root { --c: #ecf047; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf047; background-color: #ecf047; bg-[#ecf047]