Skip to content
Vectorlight.net

#fbb31b

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

HEX
#fbb31b
RGB
251, 179, 27
HSL
40.71°, 96.55%, 54.51%
OKLCH
0.81 0.16 78.51
Names
—
Lists

Codes

FormatValue
HEX#fbb31b
RGBrgb(251 179 27)
HSLhsl(40.71 96.55% 54.51%)
OKLCHoklch(0.81 0.16 78.51)
CMYKcmyk(0% 28.69% 89.24% 1.57%)
Android#fffbb31b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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