Skip to content
Vectorlight.net

#f5ea97

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

HEX
#f5ea97
RGB
245, 234, 151
HSL
52.98°, 82.46%, 77.65%
OKLCH
0.93 0.1 101.67
Names
—
Lists

Codes

FormatValue
HEX#f5ea97
RGBrgb(245 234 151)
HSLhsl(52.98 82.46% 77.65%)
OKLCHoklch(0.93 0.1 101.67)
CMYKcmyk(0% 4.49% 38.37% 3.92%)
Android#fff5ea97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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