Skip to content
Vectorlight.net

#fccc2b

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

HEX
#fccc2b
RGB
252, 204, 43
HSL
46.22°, 97.21%, 57.84%
OKLCH
0.86 0.17 90.34
Names
—
Lists

Codes

FormatValue
HEX#fccc2b
RGBrgb(252 204 43)
HSLhsl(46.22 97.21% 57.84%)
OKLCHoklch(0.86 0.17 90.34)
CMYKcmyk(0% 19.05% 82.94% 1.18%)
Android#fffccc2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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