Skip to content
Vectorlight.net

#cafe98

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

HEX
#cafe98
RGB
202, 254, 152
HSL
90.59°, 98.08%, 79.61%
OKLCH
0.94 0.14 130.71
Names
—
Lists

Codes

FormatValue
HEX#cafe98
RGBrgb(202 254 152)
HSLhsl(90.59 98.08% 79.61%)
OKLCHoklch(0.94 0.14 130.71)
CMYKcmyk(20.47% 0% 40.16% 0.39%)
Android#ffcafe98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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