Skip to content
Vectorlight.net

#f8ffef

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

HEX
#f8ffef
RGB
248, 255, 239
HSL
86.25°, 100%, 96.86%
OKLCH
0.99 0.02 126.21
Names
—
Lists

Codes

FormatValue
HEX#f8ffef
RGBrgb(248 255 239)
HSLhsl(86.25 100% 96.86%)
OKLCHoklch(0.99 0.02 126.21)
CMYKcmyk(2.75% 0% 6.27% 0%)
Android#fff8ffef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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