Skip to content
Vectorlight.net

#cba42e

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

HEX
#cba42e
RGB
203, 164, 46
HSL
45.1°, 63.05%, 48.82%
OKLCH
0.73 0.14 89.4
Names
—
Lists

Codes

FormatValue
HEX#cba42e
RGBrgb(203 164 46)
HSLhsl(45.1 63.05% 48.82%)
OKLCHoklch(0.73 0.14 89.4)
CMYKcmyk(0% 19.21% 77.34% 20.39%)
Android#ffcba42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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