Skip to content
Vectorlight.net

#fcaf04

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

HEX
#fcaf04
RGB
252, 175, 4
HSL
41.37°, 97.64%, 50.2%
OKLCH
0.81 0.17 76.87
Names
—
Lists

Codes

FormatValue
HEX#fcaf04
RGBrgb(252 175 4)
HSLhsl(41.37 97.64% 50.2%)
OKLCHoklch(0.81 0.17 76.87)
CMYKcmyk(0% 30.56% 98.41% 1.18%)
Android#fffcaf04

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

Recolor an SVG with this color

CSS

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