Skip to content
Vectorlight.net

#cbaf2c

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

HEX
#cbaf2c
RGB
203, 175, 44
HSL
49.43°, 64.37%, 48.43%
OKLCH
0.76 0.14 96.25
Names
—
Lists

Codes

FormatValue
HEX#cbaf2c
RGBrgb(203 175 44)
HSLhsl(49.43 64.37% 48.43%)
OKLCHoklch(0.76 0.14 96.25)
CMYKcmyk(0% 13.79% 78.33% 20.39%)
Android#ffcbaf2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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