Skip to content
Vectorlight.net

#dab31b

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

HEX
#dab31b
RGB
218, 179, 27
HSL
47.75°, 77.96%, 48.04%
OKLCH
0.78 0.15 92.36
Names
—
Lists

Codes

FormatValue
HEX#dab31b
RGBrgb(218 179 27)
HSLhsl(47.75 77.96% 48.04%)
OKLCHoklch(0.78 0.15 92.36)
CMYKcmyk(0% 17.89% 87.61% 14.51%)
Android#ffdab31b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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