Skip to content
Vectorlight.net

#dec74c

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

HEX
#dec74c
RGB
222, 199, 76
HSL
50.55°, 68.87%, 58.43%
OKLCH
0.83 0.14 98.59
Names
—
Lists

Codes

FormatValue
HEX#dec74c
RGBrgb(222 199 76)
HSLhsl(50.55 68.87% 58.43%)
OKLCHoklch(0.83 0.14 98.59)
CMYKcmyk(0% 10.36% 65.77% 12.94%)
Android#ffdec74c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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