Skip to content
Vectorlight.net

#dab712

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

HEX
#dab712
RGB
218, 183, 18
HSL
49.5°, 84.75%, 46.27%
OKLCH
0.79 0.16 94.76
Names
—
Lists

Codes

FormatValue
HEX#dab712
RGBrgb(218 183 18)
HSLhsl(49.5 84.75% 46.27%)
OKLCHoklch(0.79 0.16 94.76)
CMYKcmyk(0% 16.06% 91.74% 14.51%)
Android#ffdab712

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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