Skip to content
Vectorlight.net

#f2fe97

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

HEX
#f2fe97
RGB
242, 254, 151
HSL
66.99°, 98.1%, 79.41%
OKLCH
0.97 0.13 114.25
Names
—
Lists

Codes

FormatValue
HEX#f2fe97
RGBrgb(242 254 151)
HSLhsl(66.99 98.1% 79.41%)
OKLCHoklch(0.97 0.13 114.25)
CMYKcmyk(4.72% 0% 40.55% 0.39%)
Android#fff2fe97

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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