Skip to content
Vectorlight.net

#dab81f

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

HEX
#dab81f
RGB
218, 184, 31
HSL
49.09°, 75.1%, 48.82%
OKLCH
0.79 0.16 94.88
Names
—
Lists

Codes

FormatValue
HEX#dab81f
RGBrgb(218 184 31)
HSLhsl(49.09 75.1% 48.82%)
OKLCHoklch(0.79 0.16 94.88)
CMYKcmyk(0% 15.6% 85.78% 14.51%)
Android#ffdab81f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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