Skip to content
Vectorlight.net

#dac40e

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

HEX
#dac40e
RGB
218, 196, 14
HSL
53.53°, 87.93%, 45.49%
OKLCH
0.81 0.17 101.08
Names
—
Lists

Codes

FormatValue
HEX#dac40e
RGBrgb(218 196 14)
HSLhsl(53.53 87.93% 45.49%)
OKLCHoklch(0.81 0.17 101.08)
CMYKcmyk(0% 10.09% 93.58% 14.51%)
Android#ffdac40e

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="#dac40e"
Gradient stop
<stop stop-color="#dac40e"/>
CSS variable + fill
:root { --c: #dac40e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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