Skip to content
Vectorlight.net

#ecf02e

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ecf02e
RGB
236, 240, 46
HSL
61.24°, 86.61%, 56.08%
OKLCH
0.92 0.19 110.92
Names
—
Lists

Codes

FormatValue
HEX#ecf02e
RGBrgb(236 240 46)
HSLhsl(61.24 86.61% 56.08%)
OKLCHoklch(0.92 0.19 110.92)
CMYKcmyk(1.67% 0% 80.83% 5.88%)
Android#ffecf02e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.07:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ecf02e"
Gradient stop
<stop stop-color="#ecf02e"/>
CSS variable + fill
:root { --c: #ecf02e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ecf02e;
background-color: #ecf02e;
bg-[#ecf02e]