Skip to content
Vectorlight.net

#cba82f

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

HEX
#cba82f
RGB
203, 168, 47
HSL
46.54°, 62.4%, 49.02%
OKLCH
0.74 0.14 91.86
Names
—
Lists

Codes

FormatValue
HEX#cba82f
RGBrgb(203 168 47)
HSLhsl(46.54 62.4% 49.02%)
OKLCHoklch(0.74 0.14 91.86)
CMYKcmyk(0% 17.24% 76.85% 20.39%)
Android#ffcba82f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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