Skip to content
Vectorlight.net

#ccb45f

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

HEX
#ccb45f
RGB
204, 180, 95
HSL
46.79°, 51.66%, 58.63%
OKLCH
0.77 0.11 93.93
Names
—
Lists

Codes

FormatValue
HEX#ccb45f
RGBrgb(204 180 95)
HSLhsl(46.79 51.66% 58.63%)
OKLCHoklch(0.77 0.11 93.93)
CMYKcmyk(0% 11.76% 53.43% 20%)
Android#ffccb45f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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