Skip to content
Vectorlight.net

#dab20d

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

HEX
#dab20d
RGB
218, 178, 13
HSL
48.29°, 88.74%, 45.29%
OKLCH
0.78 0.16 92.26
Names
—
Lists

Codes

FormatValue
HEX#dab20d
RGBrgb(218 178 13)
HSLhsl(48.29 88.74% 45.29%)
OKLCHoklch(0.78 0.16 92.26)
CMYKcmyk(0% 18.35% 94.04% 14.51%)
Android#ffdab20d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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