Skip to content
Vectorlight.net

#cab52d

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

HEX
#cab52d
RGB
202, 181, 45
HSL
51.97°, 63.56%, 48.43%
OKLCH
0.77 0.15 99.96
Names
—
Lists

Codes

FormatValue
HEX#cab52d
RGBrgb(202 181 45)
HSLhsl(51.97 63.56% 48.43%)
OKLCHoklch(0.77 0.15 99.96)
CMYKcmyk(0% 10.4% 77.72% 20.78%)
Android#ffcab52d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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