Skip to content
Vectorlight.net

#ecfca2

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

HEX
#ecfca2
RGB
236, 252, 162
HSL
70.67°, 93.75%, 81.18%
OKLCH
0.96 0.11 116.82
Names
—
Lists

Codes

FormatValue
HEX#ecfca2
RGBrgb(236 252 162)
HSLhsl(70.67 93.75% 81.18%)
OKLCHoklch(0.96 0.11 116.82)
CMYKcmyk(6.35% 0% 35.71% 1.18%)
Android#ffecfca2

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

Recolor an SVG with this color

CSS

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