Skip to content
Vectorlight.net

#fef7ec

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

HEX
#fef7ec
RGB
254, 247, 236
HSL
36.67°, 90%, 96.08%
OKLCH
0.98 0.02 79.35
Names
—
Lists

Codes

FormatValue
HEX#fef7ec
RGBrgb(254 247 236)
HSLhsl(36.67 90% 96.08%)
OKLCHoklch(0.98 0.02 79.35)
CMYKcmyk(0% 2.76% 7.09% 0.39%)
Android#fffef7ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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