Skip to content
Vectorlight.net

#d2c40f

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

HEX
#d2c40f
RGB
210, 196, 15
HSL
55.69°, 86.67%, 44.12%
OKLCH
0.81 0.17 104.28
Names
—
Lists

Codes

FormatValue
HEX#d2c40f
RGBrgb(210 196 15)
HSLhsl(55.69 86.67% 44.12%)
OKLCHoklch(0.81 0.17 104.28)
CMYKcmyk(0% 6.67% 92.86% 17.65%)
Android#ffd2c40f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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