Skip to content
Vectorlight.net

#dcc340

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

HEX
#dcc340
RGB
220, 195, 64
HSL
50.38°, 69.03%, 55.69%
OKLCH
0.82 0.15 98.13
Names
—
Lists

Codes

FormatValue
HEX#dcc340
RGBrgb(220 195 64)
HSLhsl(50.38 69.03% 55.69%)
OKLCHoklch(0.82 0.15 98.13)
CMYKcmyk(0% 11.36% 70.91% 13.73%)
Android#ffdcc340

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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