Skip to content
Vectorlight.net

#d0a402

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

HEX
#d0a402
RGB
208, 164, 2
HSL
47.18°, 98.1%, 41.18%
OKLCH
0.74 0.15 89.24
Names
—
Lists

Codes

FormatValue
HEX#d0a402
RGBrgb(208 164 2)
HSLhsl(47.18 98.1% 41.18%)
OKLCHoklch(0.74 0.15 89.24)
CMYKcmyk(0% 21.15% 99.04% 18.43%)
Android#ffd0a402

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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