Skip to content
Vectorlight.net

#dab71b

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

HEX
#dab71b
RGB
218, 183, 27
HSL
49.01°, 77.96%, 48.04%
OKLCH
0.79 0.16 94.5
Names
—
Lists

Codes

FormatValue
HEX#dab71b
RGBrgb(218 183 27)
HSLhsl(49.01 77.96% 48.04%)
OKLCHoklch(0.79 0.16 94.5)
CMYKcmyk(0% 16.06% 87.61% 14.51%)
Android#ffdab71b

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

Recolor an SVG with this color

CSS

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