Skip to content
Vectorlight.net

#d8be2a

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

HEX
#d8be2a
RGB
216, 190, 42
HSL
51.03°, 69.05%, 50.59%
OKLCH
0.8 0.16 98.41
Names
—
Lists

Codes

FormatValue
HEX#d8be2a
RGBrgb(216 190 42)
HSLhsl(51.03 69.05% 50.59%)
OKLCHoklch(0.8 0.16 98.41)
CMYKcmyk(0% 12.04% 80.56% 15.29%)
Android#ffd8be2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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