Skip to content
Vectorlight.net

#fbef3b

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

HEX
#fbef3b
RGB
251, 239, 59
HSL
56.25°, 96%, 60.78%
OKLCH
0.93 0.18 105.44
Names
—
Lists

Codes

FormatValue
HEX#fbef3b
RGBrgb(251 239 59)
HSLhsl(56.25 96% 60.78%)
OKLCHoklch(0.93 0.18 105.44)
CMYKcmyk(0% 4.78% 76.49% 1.57%)
Android#fffbef3b

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

Recolor an SVG with this color

CSS

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