Skip to content
Vectorlight.net

#ccb271

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

HEX
#ccb271
RGB
204, 178, 113
HSL
42.86°, 47.15%, 62.16%
OKLCH
0.77 0.09 88.47
Names
—
Lists

Codes

FormatValue
HEX#ccb271
RGBrgb(204 178 113)
HSLhsl(42.86 47.15% 62.16%)
OKLCHoklch(0.77 0.09 88.47)
CMYKcmyk(0% 12.75% 44.61% 20%)
Android#ffccb271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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