Skip to content
Vectorlight.net

#cab52f

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

HEX
#cab52f
RGB
202, 181, 47
HSL
51.87°, 62.25%, 48.82%
OKLCH
0.77 0.15 99.88
Names
—
Lists

Codes

FormatValue
HEX#cab52f
RGBrgb(202 181 47)
HSLhsl(51.87 62.25% 48.82%)
OKLCHoklch(0.77 0.15 99.88)
CMYKcmyk(0% 10.4% 76.73% 20.78%)
Android#ffcab52f

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.16: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="#cab52f"
Gradient stop
<stop stop-color="#cab52f"/>
CSS variable + fill
:root { --c: #cab52f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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