Skip to content
Vectorlight.net

#d6b504

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

HEX
#d6b504
RGB
214, 181, 4
HSL
50.57°, 96.33%, 42.75%
OKLCH
0.78 0.16 95.73
Names
—
Lists

Codes

FormatValue
HEX#d6b504
RGBrgb(214 181 4)
HSLhsl(50.57 96.33% 42.75%)
OKLCHoklch(0.78 0.16 95.73)
CMYKcmyk(0% 15.42% 98.13% 16.08%)
Android#ffd6b504

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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