Skip to content
Vectorlight.net

#f0f1cf

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

HEX
#f0f1cf
RGB
240, 241, 207
HSL
61.76°, 54.84%, 87.84%
OKLCH
0.95 0.04 108.6
Names
—
Lists

Codes

FormatValue
HEX#f0f1cf
RGBrgb(240 241 207)
HSLhsl(61.76 54.84% 87.84%)
OKLCHoklch(0.95 0.04 108.6)
CMYKcmyk(0.41% 0% 14.11% 5.49%)
Android#fff0f1cf

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

Recolor an SVG with this color

CSS

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