Skip to content
Vectorlight.net

#ccc54a

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

HEX
#ccc54a
RGB
204, 197, 74
HSL
56.77°, 56.03%, 54.51%
OKLCH
0.81 0.14 106.05
Names
—
Lists

Codes

FormatValue
HEX#ccc54a
RGBrgb(204 197 74)
HSLhsl(56.77 56.03% 54.51%)
OKLCHoklch(0.81 0.14 106.05)
CMYKcmyk(0% 3.43% 63.73% 20%)
Android#ffccc54a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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