Skip to content
Vectorlight.net

#dab251

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

HEX
#dab251
RGB
218, 178, 81
HSL
42.48°, 64.93%, 58.63%
OKLCH
0.78 0.12 86.71
Names
—
Lists

Codes

FormatValue
HEX#dab251
RGBrgb(218 178 81)
HSLhsl(42.48 64.93% 58.63%)
OKLCHoklch(0.78 0.12 86.71)
CMYKcmyk(0% 18.35% 62.84% 14.51%)
Android#ffdab251

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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