Skip to content
Vectorlight.net

#cdac30

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

HEX
#cdac30
RGB
205, 172, 48
HSL
47.39°, 62.06%, 49.61%
OKLCH
0.75 0.14 93.25
Names
—
Lists

Codes

FormatValue
HEX#cdac30
RGBrgb(205 172 48)
HSLhsl(47.39 62.06% 49.61%)
OKLCHoklch(0.75 0.14 93.25)
CMYKcmyk(0% 16.1% 76.59% 19.61%)
Android#ffcdac30

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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