Skip to content
Vectorlight.net

#fef8bd

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

HEX
#fef8bd
RGB
254, 248, 189
HSL
54.46°, 97.01%, 86.86%
OKLCH
0.97 0.08 102.84
Names
—
Lists

Codes

FormatValue
HEX#fef8bd
RGBrgb(254 248 189)
HSLhsl(54.46 97.01% 86.86%)
OKLCHoklch(0.97 0.08 102.84)
CMYKcmyk(0% 2.36% 25.59% 0.39%)
Android#fffef8bd

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

Recolor an SVG with this color

CSS

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