Skip to content
Vectorlight.net

#dec72b

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

HEX
#dec72b
RGB
222, 199, 43
HSL
52.29°, 73.06%, 51.96%
OKLCH
0.82 0.16 100.2
Names
—
Lists

Codes

FormatValue
HEX#dec72b
RGBrgb(222 199 43)
HSLhsl(52.29 73.06% 51.96%)
OKLCHoklch(0.82 0.16 100.2)
CMYKcmyk(0% 10.36% 80.63% 12.94%)
Android#ffdec72b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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