Skip to content
Vectorlight.net

#ccbc51

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

HEX
#ccbc51
RGB
204, 188, 81
HSL
52.2°, 54.67%, 55.88%
OKLCH
0.79 0.13 100.86
Names
—
Lists

Codes

FormatValue
HEX#ccbc51
RGBrgb(204 188 81)
HSLhsl(52.2 54.67% 55.88%)
OKLCHoklch(0.79 0.13 100.86)
CMYKcmyk(0% 7.84% 60.29% 20%)
Android#ffccbc51

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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