Skip to content
Vectorlight.net

#ccd74b

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

HEX
#ccd74b
RGB
204, 215, 75
HSL
64.71°, 63.64%, 56.86%
OKLCH
0.85 0.16 113.65
Names
—
Lists

Codes

FormatValue
HEX#ccd74b
RGBrgb(204 215 75)
HSLhsl(64.71 63.64% 56.86%)
OKLCHoklch(0.85 0.16 113.65)
CMYKcmyk(5.12% 0% 65.12% 15.69%)
Android#ffccd74b

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.38: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="#ccd74b"
Gradient stop
<stop stop-color="#ccd74b"/>
CSS variable + fill
:root { --c: #ccd74b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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