Skip to content
Vectorlight.net

#fbd51b

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

HEX
#fbd51b
RGB
251, 213, 27
HSL
49.82°, 96.55%, 54.51%
OKLCH
0.88 0.18 95.55
Names
—
Lists

Codes

FormatValue
HEX#fbd51b
RGBrgb(251 213 27)
HSLhsl(49.82 96.55% 54.51%)
OKLCHoklch(0.88 0.18 95.55)
CMYKcmyk(0% 15.14% 89.24% 1.57%)
Android#fffbd51b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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