Skip to content
Vectorlight.net

#cafe4c

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

HEX
#cafe4c
RGB
202, 254, 76
HSL
77.53°, 98.89%, 64.71%
OKLCH
0.93 0.2 124.59
Names
—
Lists

Codes

FormatValue
HEX#cafe4c
RGBrgb(202 254 76)
HSLhsl(77.53 98.89% 64.71%)
OKLCHoklch(0.93 0.2 124.59)
CMYKcmyk(20.47% 0% 70.08% 0.39%)
Android#ffcafe4c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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