#ecf03d
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 | #ecf03d | |
| RGB | rgb(236 240 61) | |
| HSL | hsl(61.34 85.65% 59.02%) | |
| OKLCH | oklch(0.92 0.19 110.87) | |
| CMYK | cmyk(1.67% 0% 74.58% 5.88%) | |
| Android | #ffecf03d |
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.09: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="#ecf03d"
Gradient stop
<stop stop-color="#ecf03d"/>
CSS variable + fill
:root { --c: #ecf03d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf03d; background-color: #ecf03d; bg-[#ecf03d]