Skip to content
Vectorlight.net

#ccb28c

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

HEX
#ccb28c
RGB
204, 178, 140
HSL
35.63°, 38.55%, 67.45%
OKLCH
0.78 0.06 77.08
Names
—
Lists

Codes

FormatValue
HEX#ccb28c
RGBrgb(204 178 140)
HSLhsl(35.63 38.55% 67.45%)
OKLCHoklch(0.78 0.06 77.08)
CMYKcmyk(0% 12.75% 31.37% 20%)
Android#ffccb28c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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