Skip to content
Vectorlight.net

#dcd54f

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

HEX
#dcd54f
RGB
220, 213, 79
HSL
57.02°, 66.82%, 58.63%
OKLCH
0.85 0.15 106.33
Names
—
Lists

Codes

FormatValue
HEX#dcd54f
RGBrgb(220 213 79)
HSLhsl(57.02 66.82% 58.63%)
OKLCHoklch(0.85 0.15 106.33)
CMYKcmyk(0% 3.18% 64.09% 13.73%)
Android#ffdcd54f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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