Skip to content
Vectorlight.net

#ccc73c

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

HEX
#ccc73c
RGB
204, 199, 60
HSL
57.92°, 58.54%, 51.76%
OKLCH
0.81 0.15 107.32
Names
—
Lists

Codes

FormatValue
HEX#ccc73c
RGBrgb(204 199 60)
HSLhsl(57.92 58.54% 51.76%)
OKLCHoklch(0.81 0.15 107.32)
CMYKcmyk(0% 2.45% 70.59% 20%)
Android#ffccc73c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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