Skip to content
Vectorlight.net

#dab72a

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

HEX
#dab72a
RGB
218, 183, 42
HSL
48.07°, 70.4%, 50.98%
OKLCH
0.79 0.15 93.83
Names
—
Lists

Codes

FormatValue
HEX#dab72a
RGBrgb(218 183 42)
HSLhsl(48.07 70.4% 50.98%)
OKLCHoklch(0.79 0.15 93.83)
CMYKcmyk(0% 16.06% 80.73% 14.51%)
Android#ffdab72a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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