Skip to content
Vectorlight.net

#fef9c2

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

HEX
#fef9c2
RGB
254, 249, 194
HSL
55°, 96.77%, 87.84%
OKLCH
0.97 0.07 103.29
Names
—
Lists

Codes

FormatValue
HEX#fef9c2
RGBrgb(254 249 194)
HSLhsl(55 96.77% 87.84%)
OKLCHoklch(0.97 0.07 103.29)
CMYKcmyk(0% 1.97% 23.62% 0.39%)
Android#fffef9c2

Names & lists

Web-safe: No

Tailwind: yellow-100

Contrast

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

Recolor an SVG with this color

CSS

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