Skip to content
Vectorlight.net

#cab540

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

HEX
#cab540
RGB
202, 181, 64
HSL
50.87°, 56.56%, 52.16%
OKLCH
0.77 0.14 98.93
Names
—
Lists

Codes

FormatValue
HEX#cab540
RGBrgb(202 181 64)
HSLhsl(50.87 56.56% 52.16%)
OKLCHoklch(0.77 0.14 98.93)
CMYKcmyk(0% 10.4% 68.32% 20.78%)
Android#ffcab540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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