Skip to content
Vectorlight.net

#fbc342

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

HEX
#fbc342
RGB
251, 195, 66
HSL
41.84°, 95.85%, 62.16%
OKLCH
0.85 0.15 84.14
Names
—
Lists

Codes

FormatValue
HEX#fbc342
RGBrgb(251 195 66)
HSLhsl(41.84 95.85% 62.16%)
OKLCHoklch(0.85 0.15 84.14)
CMYKcmyk(0% 22.31% 73.71% 1.57%)
Android#fffbc342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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