Skip to content
Vectorlight.net

#dec42b

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

HEX
#dec42b
RGB
222, 196, 43
HSL
51.28°, 73.06%, 51.96%
OKLCH
0.82 0.16 98.76
Names
—
Lists

Codes

FormatValue
HEX#dec42b
RGBrgb(222 196 43)
HSLhsl(51.28 73.06% 51.96%)
OKLCHoklch(0.82 0.16 98.76)
CMYKcmyk(0% 11.71% 80.63% 12.94%)
Android#ffdec42b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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