Skip to content
Vectorlight.net

#fef87d

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

HEX
#fef87d
RGB
254, 248, 125
HSL
57.21°, 98.47%, 74.31%
OKLCH
0.96 0.14 106.3
Names
—
Lists

Codes

FormatValue
HEX#fef87d
RGBrgb(254 248 125)
HSLhsl(57.21 98.47% 74.31%)
OKLCHoklch(0.96 0.14 106.3)
CMYKcmyk(0% 2.36% 50.79% 0.39%)
Android#fffef87d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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