Skip to content
Vectorlight.net

#ccc020

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

HEX
#ccc020
RGB
204, 192, 32
HSL
55.81°, 72.88%, 46.27%
OKLCH
0.79 0.16 104.76
Names
—
Lists

Codes

FormatValue
HEX#ccc020
RGBrgb(204 192 32)
HSLhsl(55.81 72.88% 46.27%)
OKLCHoklch(0.79 0.16 104.76)
CMYKcmyk(0% 5.88% 84.31% 20%)
Android#ffccc020

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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