Skip to content
Vectorlight.net

#dcb542

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

HEX
#dcb542
RGB
220, 181, 66
HSL
44.81°, 68.75%, 56.08%
OKLCH
0.79 0.14 89.78
Names
—
Lists

Codes

FormatValue
HEX#dcb542
RGBrgb(220 181 66)
HSLhsl(44.81 68.75% 56.08%)
OKLCHoklch(0.79 0.14 89.78)
CMYKcmyk(0% 17.73% 70% 13.73%)
Android#ffdcb542

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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