Skip to content
Vectorlight.net

#fcaf02

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

HEX
#fcaf02
RGB
252, 175, 2
HSL
41.52°, 98.43%, 49.8%
OKLCH
0.81 0.17 76.92
Names
—
Lists

Codes

FormatValue
HEX#fcaf02
RGBrgb(252 175 2)
HSLhsl(41.52 98.43% 49.8%)
OKLCHoklch(0.81 0.17 76.92)
CMYKcmyk(0% 30.56% 99.21% 1.18%)
Android#fffcaf02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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