Skip to content
Vectorlight.net

#fef4dc

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

HEX
#fef4dc
RGB
254, 244, 220
HSL
42.35°, 94.44%, 92.94%
OKLCH
0.97 0.03 88.06
Names
—
Lists

Codes

FormatValue
HEX#fef4dc
RGBrgb(254 244 220)
HSLhsl(42.35 94.44% 92.94%)
OKLCHoklch(0.97 0.03 88.06)
CMYKcmyk(0% 3.94% 13.39% 0.39%)
Android#fffef4dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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