Skip to content
Vectorlight.net

#ccbc1b

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

HEX
#ccbc1b
RGB
204, 188, 27
HSL
54.58°, 76.62%, 45.29%
OKLCH
0.78 0.16 103.04
Names
—
Lists

Codes

FormatValue
HEX#ccbc1b
RGBrgb(204 188 27)
HSLhsl(54.58 76.62% 45.29%)
OKLCHoklch(0.78 0.16 103.04)
CMYKcmyk(0% 7.84% 86.76% 20%)
Android#ffccbc1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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