Skip to content
Vectorlight.net

#cab548

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

HEX
#cab548
RGB
202, 181, 72
HSL
50.31°, 55.08%, 53.73%
OKLCH
0.77 0.13 98.34
Names
—
Lists

Codes

FormatValue
HEX#cab548
RGBrgb(202 181 72)
HSLhsl(50.31 55.08% 53.73%)
OKLCHoklch(0.77 0.13 98.34)
CMYKcmyk(0% 10.4% 64.36% 20.78%)
Android#ffcab548

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

Recolor an SVG with this color

CSS

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