Skip to content
Vectorlight.net

#cba52e

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

HEX
#cba52e
RGB
203, 165, 46
HSL
45.48°, 63.05%, 48.82%
OKLCH
0.74 0.14 90.05
Names
—
Lists

Codes

FormatValue
HEX#cba52e
RGBrgb(203 165 46)
HSLhsl(45.48 63.05% 48.82%)
OKLCHoklch(0.74 0.14 90.05)
CMYKcmyk(0% 18.72% 77.34% 20.39%)
Android#ffcba52e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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