Skip to content
Vectorlight.net

#fbc031

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

HEX
#fbc031
RGB
251, 192, 49
HSL
42.48°, 96.19%, 58.82%
OKLCH
0.84 0.16 84.07
Names
—
Lists

Codes

FormatValue
HEX#fbc031
RGBrgb(251 192 49)
HSLhsl(42.48 96.19% 58.82%)
OKLCHoklch(0.84 0.16 84.07)
CMYKcmyk(0% 23.51% 80.48% 1.57%)
Android#fffbc031

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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