Skip to content
Vectorlight.net

#d4a02a

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

HEX
#d4a02a
RGB
212, 160, 42
HSL
41.65°, 66.93%, 49.8%
OKLCH
0.74 0.14 82.75
Names
—
Lists

Codes

FormatValue
HEX#d4a02a
RGBrgb(212 160 42)
HSLhsl(41.65 66.93% 49.8%)
OKLCHoklch(0.74 0.14 82.75)
CMYKcmyk(0% 24.53% 80.19% 16.86%)
Android#ffd4a02a

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.86: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="#d4a02a"
Gradient stop
<stop stop-color="#d4a02a"/>
CSS variable + fill
:root { --c: #d4a02a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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