Skip to content
Vectorlight.net

#ecf062

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

HEX
#ecf062
RGB
236, 240, 98
HSL
61.69°, 82.56%, 66.27%
OKLCH
0.93 0.16 110.7
Names
—
Lists

Codes

FormatValue
HEX#ecf062
RGBrgb(236 240 98)
HSLhsl(61.69 82.56% 66.27%)
OKLCHoklch(0.93 0.16 110.7)
CMYKcmyk(1.67% 0% 59.17% 5.88%)
Android#ffecf062

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.20: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="#ecf062"
Gradient stop
<stop stop-color="#ecf062"/>
CSS variable + fill
:root { --c: #ecf062; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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