Skip to content

#f0feef

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

RGB
240, 254, 239
HSL
116°, 88%, 97%
CMYK
6, 0, 6, 0
Luminance
0.9564

Every format

HEX#f0feef
RGBrgb(240, 254, 239)
HSLhsl(116, 88%, 97%)
CMYKcmyk(6%, 0%, 6%, 0%)
LABlab(98.3 -7.2 5.6)
LCHlch(98.3 9.2 142.3)
OKLCHoklch(0.983 0.025 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green99.6%
Blue93.7%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow5.9%
Key (black)0.4%

Color previews

#f0feef text on a black background

contrast 20.13:1

Card sample

#f0feef text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0feef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0feef in the Color Lab