Skip to content
Vectorlight.net

#f0ecaa

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

HEX
#f0ecaa
RGB
240, 236, 170
HSL
56.57°, 70%, 80.39%
OKLCH
0.93 0.08 105
Names
—
Lists

Codes

FormatValue
HEX#f0ecaa
RGBrgb(240 236 170)
HSLhsl(56.57 70% 80.39%)
OKLCHoklch(0.93 0.08 105)
CMYKcmyk(0% 1.67% 29.17% 5.88%)
Android#fff0ecaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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