Skip to content
Vectorlight.net

#ccd81e

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

HEX
#ccd81e
RGB
204, 216, 30
HSL
63.87°, 75.61%, 48.24%
OKLCH
0.84 0.18 113.8
Names
—
Lists

Codes

FormatValue
HEX#ccd81e
RGBrgb(204 216 30)
HSLhsl(63.87 75.61% 48.24%)
OKLCHoklch(0.84 0.18 113.8)
CMYKcmyk(5.56% 0% 86.11% 15.29%)
Android#ffccd81e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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