Skip to content
Vectorlight.net

#fef9af

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

HEX
#fef9af
RGB
254, 249, 175
HSL
56.2°, 97.53%, 84.12%
OKLCH
0.97 0.09 104.73
Names
—
Lists

Codes

FormatValue
HEX#fef9af
RGBrgb(254 249 175)
HSLhsl(56.2 97.53% 84.12%)
OKLCHoklch(0.97 0.09 104.73)
CMYKcmyk(0% 1.97% 31.1% 0.39%)
Android#fffef9af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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