Skip to content
Vectorlight.net

#f0decf

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

HEX
#f0decf
RGB
240, 222, 207
HSL
27.27°, 52.38%, 87.65%
OKLCH
0.91 0.03 62.3
Names
—
Lists

Codes

FormatValue
HEX#f0decf
RGBrgb(240 222 207)
HSLhsl(27.27 52.38% 87.65%)
OKLCHoklch(0.91 0.03 62.3)
CMYKcmyk(0% 7.5% 13.75% 5.88%)
Android#fff0decf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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