Skip to content
Vectorlight.net

#ccc978

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

HEX
#ccc978
RGB
204, 201, 120
HSL
57.86°, 45.16%, 63.53%
OKLCH
0.82 0.1 106.62
Names
—
Lists

Codes

FormatValue
HEX#ccc978
RGBrgb(204 201 120)
HSLhsl(57.86 45.16% 63.53%)
OKLCHoklch(0.82 0.1 106.62)
CMYKcmyk(0% 1.47% 41.18% 20%)
Android#ffccc978

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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