Skip to content
Vectorlight.net

#d3cb2a

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

HEX
#d3cb2a
RGB
211, 203, 42
HSL
57.16°, 66.8%, 49.61%
OKLCH
0.82 0.17 106.48
Names
—
Lists

Codes

FormatValue
HEX#d3cb2a
RGBrgb(211 203 42)
HSLhsl(57.16 66.8% 49.61%)
OKLCHoklch(0.82 0.17 106.48)
CMYKcmyk(0% 3.79% 80.09% 17.25%)
Android#ffd3cb2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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