Skip to content
Vectorlight.net

#f0fe8a

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

HEX
#f0fe8a
RGB
240, 254, 138
HSL
67.24°, 98.31%, 76.86%
OKLCH
0.96 0.14 114.75
Names
—
Lists

Codes

FormatValue
HEX#f0fe8a
RGBrgb(240 254 138)
HSLhsl(67.24 98.31% 76.86%)
OKLCHoklch(0.96 0.14 114.75)
CMYKcmyk(5.51% 0% 45.67% 0.39%)
Android#fff0fe8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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