Skip to content
Vectorlight.net

#f0efdf

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

HEX
#f0efdf
RGB
240, 239, 223
HSL
56.47°, 36.17%, 90.78%
OKLCH
0.95 0.02 103.89
Names
—
Lists

Codes

FormatValue
HEX#f0efdf
RGBrgb(240 239 223)
HSLhsl(56.47 36.17% 90.78%)
OKLCHoklch(0.95 0.02 103.89)
CMYKcmyk(0% 0.42% 7.08% 5.88%)
Android#fff0efdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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