Skip to content

#f1fef1

a pale, electric green · cool · closest name: ivory

RGB
241, 254, 241
HSL
120°, 87%, 97%
CMYK
5, 0, 5, 0
Luminance
0.9594

Every format

HEX#f1fef1
RGBrgb(241, 254, 241)
HSLhsl(120, 87%, 97%)
CMYKcmyk(5%, 0%, 5%, 0%)
LABlab(98.4 -6.6 4.7)
LCHlch(98.4 8.1 144.1)
OKLCHoklch(0.984 0.022 145.4)

Copy-ready code

/* CSS */
color: #f1fef1;
background-color: #f1fef1;
/* Tailwind (arbitrary) */
class="text-[#f1fef1] bg-[#f1fef1]"
/* SCSS */
$brand: #f1fef1;
/* SwiftUI */
Color(red: 0.945, green: 0.996, blue: 0.945)
/* Android */
Color.parseColor("#f1fef1")

Accessibility — WCAG contrast

Aa
#f1fef1 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#f1fef1 on black: 20.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green99.6%
Blue94.5%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow5.1%
Key (black)0.4%

Color previews

#f1fef1 text on a black background

contrast 20.19:1

Card sample

#f1fef1 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f1fef1;
Background color
Panel with #f1fef1 background
background-color: #f1fef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f1fef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(241, 254, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 254, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1fef1;
background: linear-gradient(135deg, #f1fef1, #F1FEFA);

Monochromatic scale

Palettes built from #f1fef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1fef1 in the Color Lab