Skip to content
Vectorlight.net

#d2b71a

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

HEX
#d2b71a
RGB
210, 183, 26
HSL
51.2°, 77.97%, 46.27%
OKLCH
0.78 0.16 98.05
Names
—
Lists

Codes

FormatValue
HEX#d2b71a
RGBrgb(210 183 26)
HSLhsl(51.2 77.97% 46.27%)
OKLCHoklch(0.78 0.16 98.05)
CMYKcmyk(0% 12.86% 87.62% 17.65%)
Android#ffd2b71a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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