Skip to content
Vectorlight.net

#ccca7b

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

HEX
#ccca7b
RGB
204, 202, 123
HSL
58.52°, 44.26%, 64.12%
OKLCH
0.82 0.1 107.17
Names
—
Lists

Codes

FormatValue
HEX#ccca7b
RGBrgb(204 202 123)
HSLhsl(58.52 44.26% 64.12%)
OKLCHoklch(0.82 0.1 107.17)
CMYKcmyk(0% 0.98% 39.71% 20%)
Android#ffccca7b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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