Skip to content
Vectorlight.net

#fcb308

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

HEX
#fcb308
RGB
252, 179, 8
HSL
42.05°, 97.6%, 50.98%
OKLCH
0.81 0.17 78.86
Names
—
Lists

Codes

FormatValue
HEX#fcb308
RGBrgb(252 179 8)
HSLhsl(42.05 97.6% 50.98%)
OKLCHoklch(0.81 0.17 78.86)
CMYKcmyk(0% 28.97% 96.83% 1.18%)
Android#fffcb308

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.59: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="#fcb308"
Gradient stop
<stop stop-color="#fcb308"/>
CSS variable + fill
:root { --c: #fcb308; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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