Skip to content
Vectorlight.net

#ecfd98

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

HEX
#ecfd98
RGB
236, 253, 152
HSL
70.1°, 96.19%, 79.41%
OKLCH
0.96 0.13 116.66
Names
—
Lists

Codes

FormatValue
HEX#ecfd98
RGBrgb(236 253 152)
HSLhsl(70.1 96.19% 79.41%)
OKLCHoklch(0.96 0.13 116.66)
CMYKcmyk(6.72% 0% 39.92% 0.78%)
Android#ffecfd98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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