Skip to content
Vectorlight.net

#fef9ab

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

HEX
#fef9ab
RGB
254, 249, 171
HSL
56.39°, 97.65%, 83.33%
OKLCH
0.97 0.1 104.96
Names
—
Lists

Codes

FormatValue
HEX#fef9ab
RGBrgb(254 249 171)
HSLhsl(56.39 97.65% 83.33%)
OKLCHoklch(0.97 0.1 104.96)
CMYKcmyk(0% 1.97% 32.68% 0.39%)
Android#fffef9ab

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.35: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="#fef9ab"
Gradient stop
<stop stop-color="#fef9ab"/>
CSS variable + fill
:root { --c: #fef9ab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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