Skip to content
Vectorlight.net

#fcb940

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

HEX
#fcb940
RGB
252, 185, 64
HSL
38.62°, 96.91%, 61.96%
OKLCH
0.83 0.15 78.06
Names
—
Lists

Codes

FormatValue
HEX#fcb940
RGBrgb(252 185 64)
HSLhsl(38.62 96.91% 61.96%)
OKLCHoklch(0.83 0.15 78.06)
CMYKcmyk(0% 26.59% 74.6% 1.18%)
Android#fffcb940

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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