Skip to content
Vectorlight.net

#f0efcb

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

HEX
#f0efcb
RGB
240, 239, 203
HSL
58.38°, 55.22%, 86.86%
OKLCH
0.94 0.05 105.96
Names
—
Lists

Codes

FormatValue
HEX#f0efcb
RGBrgb(240 239 203)
HSLhsl(58.38 55.22% 86.86%)
OKLCHoklch(0.94 0.05 105.96)
CMYKcmyk(0% 0.42% 15.42% 5.88%)
Android#fff0efcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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