Skip to content
Vectorlight.net

#cab951

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

HEX
#cab951
RGB
202, 185, 81
HSL
51.57°, 53.3%, 55.49%
OKLCH
0.78 0.13 100.09
Names
—
Lists

Codes

FormatValue
HEX#cab951
RGBrgb(202 185 81)
HSLhsl(51.57 53.3% 55.49%)
OKLCHoklch(0.78 0.13 100.09)
CMYKcmyk(0% 8.42% 59.9% 20.78%)
Android#ffcab951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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