Skip to content
Vectorlight.net

#cbaa2f

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

HEX
#cbaa2f
RGB
203, 170, 47
HSL
47.31°, 62.4%, 49.02%
OKLCH
0.75 0.14 93.1
Names
—
Lists

Codes

FormatValue
HEX#cbaa2f
RGBrgb(203 170 47)
HSLhsl(47.31 62.4% 49.02%)
OKLCHoklch(0.75 0.14 93.1)
CMYKcmyk(0% 16.26% 76.85% 20.39%)
Android#ffcbaa2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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