Skip to content
Vectorlight.net

#f2feaf

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

HEX
#f2feaf
RGB
242, 254, 175
HSL
69.11°, 97.53%, 84.12%
OKLCH
0.97 0.1 115.34
Names
—
Lists

Codes

FormatValue
HEX#f2feaf
RGBrgb(242 254 175)
HSLhsl(69.11 97.53% 84.12%)
OKLCHoklch(0.97 0.1 115.34)
CMYKcmyk(4.72% 0% 31.1% 0.39%)
Android#fff2feaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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