Skip to content
Vectorlight.net

#ccd98e

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

HEX
#ccd98e
RGB
204, 217, 142
HSL
70.4°, 49.67%, 70.39%
OKLCH
0.86 0.1 116.53
Names
—
Lists

Codes

FormatValue
HEX#ccd98e
RGBrgb(204 217 142)
HSLhsl(70.4 49.67% 70.39%)
OKLCHoklch(0.86 0.1 116.53)
CMYKcmyk(5.99% 0% 34.56% 14.9%)
Android#ffccd98e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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