Skip to content
Vectorlight.net

#f0c997

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

HEX
#f0c997
RGB
240, 201, 151
HSL
33.71°, 74.79%, 76.67%
OKLCH
0.86 0.08 73.37
Names
—
Lists

Codes

FormatValue
HEX#f0c997
RGBrgb(240 201 151)
HSLhsl(33.71 74.79% 76.67%)
OKLCHoklch(0.86 0.08 73.37)
CMYKcmyk(0% 16.25% 37.08% 5.88%)
Android#fff0c997

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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