Skip to content
Vectorlight.net

#f5cf97

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

HEX
#f5cf97
RGB
245, 207, 151
HSL
35.74°, 82.46%, 77.65%
OKLCH
0.87 0.08 76.96
Names
—
Lists

Codes

FormatValue
HEX#f5cf97
RGBrgb(245 207 151)
HSLhsl(35.74 82.46% 77.65%)
OKLCHoklch(0.87 0.08 76.96)
CMYKcmyk(0% 15.51% 38.37% 3.92%)
Android#fff5cf97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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