Skip to content
Vectorlight.net

#fef5bf

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

HEX
#fef5bf
RGB
254, 245, 191
HSL
51.43°, 96.92%, 87.25%
OKLCH
0.96 0.07 99.65
Names
—
Lists

Codes

FormatValue
HEX#fef5bf
RGBrgb(254 245 191)
HSLhsl(51.43 96.92% 87.25%)
OKLCHoklch(0.96 0.07 99.65)
CMYKcmyk(0% 3.54% 24.8% 0.39%)
Android#fffef5bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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