Skip to content
Vectorlight.net

#fcb40c

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

HEX
#fcb40c
RGB
252, 180, 12
HSL
42°, 97.56%, 51.76%
OKLCH
0.82 0.17 79.28
Names
—
Lists

Codes

FormatValue
HEX#fcb40c
RGBrgb(252 180 12)
HSLhsl(42 97.56% 51.76%)
OKLCHoklch(0.82 0.17 79.28)
CMYKcmyk(0% 28.57% 95.24% 1.18%)
Android#fffcb40c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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