Skip to content
Vectorlight.net

#d5a02b

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

HEX
#d5a02b
RGB
213, 160, 43
HSL
41.29°, 66.93%, 50.2%
OKLCH
0.74 0.14 82.17
Names
—
Lists

Codes

FormatValue
HEX#d5a02b
RGBrgb(213 160 43)
HSLhsl(41.29 66.93% 50.2%)
OKLCHoklch(0.74 0.14 82.17)
CMYKcmyk(0% 24.88% 79.81% 16.47%)
Android#ffd5a02b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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