Skip to content
Vectorlight.net

#d2ab2a

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

HEX
#d2ab2a
RGB
210, 171, 42
HSL
46.07°, 66.67%, 49.41%
OKLCH
0.76 0.14 90.66
Names
—
Lists

Codes

FormatValue
HEX#d2ab2a
RGBrgb(210 171 42)
HSLhsl(46.07 66.67% 49.41%)
OKLCHoklch(0.76 0.14 90.66)
CMYKcmyk(0% 18.57% 80% 17.65%)
Android#ffd2ab2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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