Skip to content
Vectorlight.net

#dac40a

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

HEX
#dac40a
RGB
218, 196, 10
HSL
53.65°, 91.23%, 44.71%
OKLCH
0.81 0.17 101.12
Names
—
Lists

Codes

FormatValue
HEX#dac40a
RGBrgb(218 196 10)
HSLhsl(53.65 91.23% 44.71%)
OKLCHoklch(0.81 0.17 101.12)
CMYKcmyk(0% 10.09% 95.41% 14.51%)
Android#ffdac40a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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