Skip to content
Vectorlight.net

#dac71b

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

HEX
#dac71b
RGB
218, 199, 27
HSL
54.03°, 77.96%, 48.04%
OKLCH
0.82 0.17 102.22
Names
—
Lists

Codes

FormatValue
HEX#dac71b
RGBrgb(218 199 27)
HSLhsl(54.03 77.96% 48.04%)
OKLCHoklch(0.82 0.17 102.22)
CMYKcmyk(0% 8.72% 87.61% 14.51%)
Android#ffdac71b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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