Skip to content
Vectorlight.net

#ccbb0c

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

HEX
#ccbb0c
RGB
204, 187, 12
HSL
54.69°, 88.89%, 42.35%
OKLCH
0.78 0.16 102.79
Names
—
Lists

Codes

FormatValue
HEX#ccbb0c
RGBrgb(204 187 12)
HSLhsl(54.69 88.89% 42.35%)
OKLCHoklch(0.78 0.16 102.79)
CMYKcmyk(0% 8.33% 94.12% 20%)
Android#ffccbb0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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