Skip to content
Vectorlight.net

#ccb951

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

HEX
#ccb951
RGB
204, 185, 81
HSL
50.73°, 54.67%, 55.88%
OKLCH
0.78 0.13 99.02
Names
—
Lists

Codes

FormatValue
HEX#ccb951
RGBrgb(204 185 81)
HSLhsl(50.73 54.67% 55.88%)
OKLCHoklch(0.78 0.13 99.02)
CMYKcmyk(0% 9.31% 60.29% 20%)
Android#ffccb951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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