Skip to content
Vectorlight.net

#ecf23c

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

HEX
#ecf23c
RGB
236, 242, 60
HSL
61.98°, 87.5%, 59.22%
OKLCH
0.93 0.19 111.52
Names
—
Lists

Codes

FormatValue
HEX#ecf23c
RGBrgb(236 242 60)
HSLhsl(61.98 87.5% 59.22%)
OKLCHoklch(0.93 0.19 111.52)
CMYKcmyk(2.48% 0% 75.21% 5.1%)
Android#ffecf23c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.33: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="#ecf23c"
Gradient stop
<stop stop-color="#ecf23c"/>
CSS variable + fill
:root { --c: #ecf23c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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