#ecf052
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 | #ecf052 | |
| RGB | rgb(236 240 82) | |
| HSL | hsl(61.52 84.04% 63.14%) | |
| OKLCH | oklch(0.92 0.17 110.78) | |
| CMYK | cmyk(1.67% 0% 65.83% 5.88%) | |
| Android | #ffecf052 |
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.15: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="#ecf052"
Gradient stop
<stop stop-color="#ecf052"/>
CSS variable + fill
:root { --c: #ecf052; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecf052; background-color: #ecf052; bg-[#ecf052]