Skip to content

#f0feee

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

RGB
240, 254, 238
HSL
113°, 89%, 97%
CMYK
6, 0, 6, 0
Luminance
0.9558

Every format

HEX#f0feee
RGBrgb(240, 254, 238)
HSLhsl(113, 89%, 97%)
CMYKcmyk(6%, 0%, 6%, 0%)
LABlab(98.3 -7.4 6.1)
LCHlch(98.3 9.6 140.7)
OKLCHoklch(0.982 0.026 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green99.6%
Blue93.3%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow6.3%
Key (black)0.4%

Color previews

#f0feee text on a black background

contrast 20.12:1

Card sample

#f0feee text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0feee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0feee in the Color Lab