Skip to content
Vectorlight.net

#dabb1f

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

HEX
#dabb1f
RGB
218, 187, 31
HSL
50.05°, 75.1%, 48.82%
OKLCH
0.8 0.16 96.43
Names
—
Lists

Codes

FormatValue
HEX#dabb1f
RGBrgb(218 187 31)
HSLhsl(50.05 75.1% 48.82%)
OKLCHoklch(0.8 0.16 96.43)
CMYKcmyk(0% 14.22% 85.78% 14.51%)
Android#ffdabb1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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