Skip to content
Vectorlight.net

#ecfef2

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

HEX
#ecfef2
RGB
236, 254, 242
HSL
140°, 90%, 96.08%
OKLCH
0.98 0.02 156.75
Names
—
Lists

Codes

FormatValue
HEX#ecfef2
RGBrgb(236 254 242)
HSLhsl(140 90% 96.08%)
OKLCHoklch(0.98 0.02 156.75)
CMYKcmyk(7.09% 0% 4.72% 0.39%)
Android#ffecfef2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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