Skip to content
Vectorlight.net

#ddc12e

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

HEX
#ddc12e
RGB
221, 193, 46
HSL
50.4°, 72.02%, 52.35%
OKLCH
0.81 0.16 97.58
Names
—
Lists

Codes

FormatValue
HEX#ddc12e
RGBrgb(221 193 46)
HSLhsl(50.4 72.02% 52.35%)
OKLCHoklch(0.81 0.16 97.58)
CMYKcmyk(0% 12.67% 79.19% 13.33%)
Android#ffddc12e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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