Skip to content
Vectorlight.net

#fbef48

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

HEX
#fbef48
RGB
251, 239, 72
HSL
55.98°, 95.72%, 63.33%
OKLCH
0.93 0.18 105.18
Names
—
Lists

Codes

FormatValue
HEX#fbef48
RGBrgb(251 239 72)
HSLhsl(55.98 95.72% 63.33%)
OKLCHoklch(0.93 0.18 105.18)
CMYKcmyk(0% 4.78% 71.31% 1.57%)
Android#fffbef48

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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