Skip to content
Vectorlight.net

#ccc271

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

HEX
#ccc271
RGB
204, 194, 113
HSL
53.41°, 47.15%, 62.16%
OKLCH
0.8 0.1 102.24
Names
—
Lists

Codes

FormatValue
HEX#ccc271
RGBrgb(204 194 113)
HSLhsl(53.41 47.15% 62.16%)
OKLCHoklch(0.8 0.1 102.24)
CMYKcmyk(0% 4.9% 44.61% 20%)
Android#ffccc271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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