Skip to content
Vectorlight.net

#fbd402

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

HEX
#fbd402
RGB
251, 212, 2
HSL
50.6°, 98.42%, 49.61%
OKLCH
0.88 0.18 95.49
Names
—
Lists

Codes

FormatValue
HEX#fbd402
RGBrgb(251 212 2)
HSLhsl(50.6 98.42% 49.61%)
OKLCHoklch(0.88 0.18 95.49)
CMYKcmyk(0% 15.54% 99.2% 1.57%)
Android#fffbd402

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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