Skip to content
Vectorlight.net

#cfb52f

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

HEX
#cfb52f
RGB
207, 181, 47
HSL
50.25°, 62.99%, 49.8%
OKLCH
0.77 0.15 97.53
Names
—
Lists

Codes

FormatValue
HEX#cfb52f
RGBrgb(207 181 47)
HSLhsl(50.25 62.99% 49.8%)
OKLCHoklch(0.77 0.15 97.53)
CMYKcmyk(0% 12.56% 77.29% 18.82%)
Android#ffcfb52f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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