Skip to content
Vectorlight.net

#fbcb28

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

HEX
#fbcb28
RGB
251, 203, 40
HSL
46.35°, 96.35%, 57.06%
OKLCH
0.86 0.17 90.39
Names
—
Lists

Codes

FormatValue
HEX#fbcb28
RGBrgb(251 203 40)
HSLhsl(46.35 96.35% 57.06%)
OKLCHoklch(0.86 0.17 90.39)
CMYKcmyk(0% 19.12% 84.06% 1.57%)
Android#fffbcb28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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