Skip to content
Vectorlight.net

#cab52e

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

HEX
#cab52e
RGB
202, 181, 46
HSL
51.92°, 62.9%, 48.63%
OKLCH
0.77 0.15 99.92
Names
—
Lists

Codes

FormatValue
HEX#cab52e
RGBrgb(202 181 46)
HSLhsl(51.92 62.9% 48.63%)
OKLCHoklch(0.77 0.15 99.92)
CMYKcmyk(0% 10.4% 77.23% 20.78%)
Android#ffcab52e

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

Recolor an SVG with this color

CSS

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