Skip to content
Vectorlight.net

#ddc02a

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

HEX
#ddc02a
RGB
221, 192, 42
HSL
50.28°, 72.47%, 51.57%
OKLCH
0.81 0.16 97.25
Names
—
Lists

Codes

FormatValue
HEX#ddc02a
RGBrgb(221 192 42)
HSLhsl(50.28 72.47% 51.57%)
OKLCHoklch(0.81 0.16 97.25)
CMYKcmyk(0% 13.12% 81% 13.33%)
Android#ffddc02a

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="#ddc02a"
Gradient stop
<stop stop-color="#ddc02a"/>
CSS variable + fill
:root { --c: #ddc02a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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