Skip to content
Vectorlight.net

#f0ffde

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

HEX
#f0ffde
RGB
240, 255, 222
HSL
87.27°, 100%, 93.53%
OKLCH
0.98 0.05 127.22
Names
—
Lists

Codes

FormatValue
HEX#f0ffde
RGBrgb(240 255 222)
HSLhsl(87.27 100% 93.53%)
OKLCHoklch(0.98 0.05 127.22)
CMYKcmyk(5.88% 0% 12.94% 0%)
Android#fff0ffde

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.06: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="#f0ffde"
Gradient stop
<stop stop-color="#f0ffde"/>
CSS variable + fill
:root { --c: #f0ffde; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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