Skip to content
Vectorlight.net

#cbaf2d

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

HEX
#cbaf2d
RGB
203, 175, 45
HSL
49.37°, 63.71%, 48.63%
OKLCH
0.76 0.14 96.19
Names
—
Lists

Codes

FormatValue
HEX#cbaf2d
RGBrgb(203 175 45)
HSLhsl(49.37 63.71% 48.63%)
OKLCHoklch(0.76 0.14 96.19)
CMYKcmyk(0% 13.79% 77.83% 20.39%)
Android#ffcbaf2d

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="#cbaf2d"
Gradient stop
<stop stop-color="#cbaf2d"/>
CSS variable + fill
:root { --c: #cbaf2d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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