Skip to content
Vectorlight.net

#ccca0c

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

HEX
#ccca0c
RGB
204, 202, 12
HSL
59.38°, 88.89%, 42.35%
OKLCH
0.81 0.17 109
Names
—
Lists

Codes

FormatValue
HEX#ccca0c
RGBrgb(204 202 12)
HSLhsl(59.38 88.89% 42.35%)
OKLCHoklch(0.81 0.17 109)
CMYKcmyk(0% 0.98% 94.12% 20%)
Android#ffccca0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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