Skip to content
Vectorlight.net

#fffef2

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

HEX
#fffef2
RGB
255, 254, 242
HSL
55.38°, 100%, 97.45%
OKLCH
0.99 0.02 102.82
Names
—
Lists

Codes

FormatValue
HEX#fffef2
RGBrgb(255 254 242)
HSLhsl(55.38 100% 97.45%)
OKLCHoklch(0.99 0.02 102.82)
CMYKcmyk(0% 0.39% 5.1% 0%)
Android#fffffef2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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