Skip to content
Vectorlight.net

#fbef98

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

HEX
#fbef98
RGB
251, 239, 152
HSL
52.73°, 92.52%, 79.02%
OKLCH
0.94 0.11 101.42
Names
—
Lists

Codes

FormatValue
HEX#fbef98
RGBrgb(251 239 152)
HSLhsl(52.73 92.52% 79.02%)
OKLCHoklch(0.94 0.11 101.42)
CMYKcmyk(0% 4.78% 39.44% 1.57%)
Android#fffbef98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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