Skip to content
Vectorlight.net

#ccc73a

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

HEX
#ccc73a
RGB
204, 199, 58
HSL
57.95°, 58.87%, 51.37%
OKLCH
0.81 0.16 107.36
Names
—
Lists

Codes

FormatValue
HEX#ccc73a
RGBrgb(204 199 58)
HSLhsl(57.95 58.87% 51.37%)
OKLCHoklch(0.81 0.16 107.36)
CMYKcmyk(0% 2.45% 71.57% 20%)
Android#ffccc73a

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

Recolor an SVG with this color

CSS

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