Skip to content
Vectorlight.net

#ccb85b

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

HEX
#ccb85b
RGB
204, 184, 91
HSL
49.38°, 52.56%, 57.84%
OKLCH
0.78 0.12 97.39
Names
—
Lists

Codes

FormatValue
HEX#ccb85b
RGBrgb(204 184 91)
HSLhsl(49.38 52.56% 57.84%)
OKLCHoklch(0.78 0.12 97.39)
CMYKcmyk(0% 9.8% 55.39% 20%)
Android#ffccb85b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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