Skip to content
Vectorlight.net

#fefd97

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

HEX
#fefd97
RGB
254, 253, 151
HSL
59.42°, 98.1%, 79.41%
OKLCH
0.97 0.12 108.01
Names
—
Lists

Codes

FormatValue
HEX#fefd97
RGBrgb(254 253 151)
HSLhsl(59.42 98.1% 79.41%)
OKLCHoklch(0.97 0.12 108.01)
CMYKcmyk(0% 0.39% 40.55% 0.39%)
Android#fffefd97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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