Skip to content
Vectorlight.net

#cab22d

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

HEX
#cab22d
RGB
202, 178, 45
HSL
50.83°, 63.56%, 48.43%
OKLCH
0.76 0.14 98.35
Names
—
Lists

Codes

FormatValue
HEX#cab22d
RGBrgb(202 178 45)
HSLhsl(50.83 63.56% 48.43%)
OKLCHoklch(0.76 0.14 98.35)
CMYKcmyk(0% 11.88% 77.72% 20.78%)
Android#ffcab22d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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