Skip to content
Vectorlight.net

#dca70c

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

HEX
#dca70c
RGB
220, 167, 12
HSL
44.71°, 89.66%, 45.49%
OKLCH
0.76 0.15 85.28
Names
—
Lists

Codes

FormatValue
HEX#dca70c
RGBrgb(220 167 12)
HSLhsl(44.71 89.66% 45.49%)
OKLCHoklch(0.76 0.15 85.28)
CMYKcmyk(0% 24.09% 94.55% 13.73%)
Android#ffdca70c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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