Skip to content
Vectorlight.net

#fffff2

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

HEX
#fffff2
RGB
255, 255, 242
HSL
60°, 100%, 97.45%
OKLCH
1 0.02 106.7
Names
—
Lists

Codes

FormatValue
HEX#fffff2
RGBrgb(255 255 242)
HSLhsl(60 100% 97.45%)
OKLCHoklch(1 0.02 106.7)
CMYKcmyk(0% 0% 5.1% 0%)
Android#fffffff2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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