Skip to content
Vectorlight.net

#fef9bf

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

HEX
#fef9bf
RGB
254, 249, 191
HSL
55.24°, 96.92%, 87.25%
OKLCH
0.97 0.07 103.57
Names
—
Lists

Codes

FormatValue
HEX#fef9bf
RGBrgb(254 249 191)
HSLhsl(55.24 96.92% 87.25%)
OKLCHoklch(0.97 0.07 103.57)
CMYKcmyk(0% 1.97% 24.8% 0.39%)
Android#fffef9bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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