Skip to content
Vectorlight.net

#cdc54a

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

HEX
#cdc54a
RGB
205, 197, 74
HSL
56.34°, 56.71%, 54.71%
OKLCH
0.81 0.14 105.59
Names
—
Lists

Codes

FormatValue
HEX#cdc54a
RGBrgb(205 197 74)
HSLhsl(56.34 56.71% 54.71%)
OKLCHoklch(0.81 0.14 105.59)
CMYKcmyk(0% 3.9% 63.9% 19.61%)
Android#ffcdc54a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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