Skip to content
Vectorlight.net

#fef8b2

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

HEX
#fef8b2
RGB
254, 248, 178
HSL
55.26°, 97.44%, 84.71%
OKLCH
0.97 0.09 103.78
Names
—
Lists

Codes

FormatValue
HEX#fef8b2
RGBrgb(254 248 178)
HSLhsl(55.26 97.44% 84.71%)
OKLCHoklch(0.97 0.09 103.78)
CMYKcmyk(0% 2.36% 29.92% 0.39%)
Android#fffef8b2

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

Recolor an SVG with this color

CSS

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