Skip to content
Vectorlight.net

#cbaf4f

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

HEX
#cbaf4f
RGB
203, 175, 79
HSL
46.45°, 54.39%, 55.29%
OKLCH
0.76 0.12 93.09
Names
—
Lists

Codes

FormatValue
HEX#cbaf4f
RGBrgb(203 175 79)
HSLhsl(46.45 54.39% 55.29%)
OKLCHoklch(0.76 0.12 93.09)
CMYKcmyk(0% 13.79% 61.08% 20.39%)
Android#ffcbaf4f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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