Skip to content
Vectorlight.net

#cdc525

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

HEX
#cdc525
RGB
205, 197, 37
HSL
57.14°, 69.42%, 47.45%
OKLCH
0.8 0.16 106.44
Names
—
Lists

Codes

FormatValue
HEX#cdc525
RGBrgb(205 197 37)
HSLhsl(57.14 69.42% 47.45%)
OKLCHoklch(0.8 0.16 106.44)
CMYKcmyk(0% 3.9% 81.95% 19.61%)
Android#ffcdc525

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

Recolor an SVG with this color

CSS

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