Skip to content
Vectorlight.net

#ccc838

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

HEX
#ccc838
RGB
204, 200, 56
HSL
58.38°, 59.2%, 50.98%
OKLCH
0.81 0.16 107.83
Names
—
Lists

Codes

FormatValue
HEX#ccc838
RGBrgb(204 200 56)
HSLhsl(58.38 59.2% 50.98%)
OKLCHoklch(0.81 0.16 107.83)
CMYKcmyk(0% 1.96% 72.55% 20%)
Android#ffccc838

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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