Skip to content
Vectorlight.net

#dcc540

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

HEX
#dcc540
RGB
220, 197, 64
HSL
51.15°, 69.03%, 55.69%
OKLCH
0.82 0.15 99.18
Names
—
Lists

Codes

FormatValue
HEX#dcc540
RGBrgb(220 197 64)
HSLhsl(51.15 69.03% 55.69%)
OKLCHoklch(0.82 0.15 99.18)
CMYKcmyk(0% 10.45% 70.91% 13.73%)
Android#ffdcc540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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