Skip to content
Vectorlight.net

#fbc940

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

HEX
#fbc940
RGB
251, 201, 64
HSL
43.96°, 95.9%, 61.76%
OKLCH
0.86 0.16 87.73
Names
—
Lists

Codes

FormatValue
HEX#fbc940
RGBrgb(251 201 64)
HSLhsl(43.96 95.9% 61.76%)
OKLCHoklch(0.86 0.16 87.73)
CMYKcmyk(0% 19.92% 74.5% 1.57%)
Android#fffbc940

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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