Skip to content
Vectorlight.net

#dab42e

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

HEX
#dab42e
RGB
218, 180, 46
HSL
46.74°, 69.92%, 51.76%
OKLCH
0.78 0.15 91.9
Names
—
Lists

Codes

FormatValue
HEX#dab42e
RGBrgb(218 180 46)
HSLhsl(46.74 69.92% 51.76%)
OKLCHoklch(0.78 0.15 91.9)
CMYKcmyk(0% 17.43% 78.9% 14.51%)
Android#ffdab42e

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

Recolor an SVG with this color

CSS

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