Skip to content
Vectorlight.net

#fbad06

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

HEX
#fbad06
RGB
251, 173, 6
HSL
40.9°, 96.84%, 50.39%
OKLCH
0.8 0.17 76.12
Names
—
Lists

Codes

FormatValue
HEX#fbad06
RGBrgb(251 173 6)
HSLhsl(40.9 96.84% 50.39%)
OKLCHoklch(0.8 0.17 76.12)
CMYKcmyk(0% 31.08% 97.61% 1.57%)
Android#fffbad06

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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