Skip to content

#f2faee

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

RGB
242, 250, 238
HSL
100°, 55%, 96%
CMYK
3, 0, 5, 2
Luminance
0.9342

Every format

HEX#f2faee
RGBrgb(242, 250, 238)
HSLhsl(100, 55%, 96%)
CMYKcmyk(3%, 0%, 5%, 2%)
LABlab(97.4 -4.7 4.8)
LCHlch(97.4 6.8 134.5)
OKLCHoklch(0.976 0.018 134.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2faee on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f2faee on black: 19.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green98.0%
Blue93.3%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow4.8%
Key (black)2.0%

Color previews

#f2faee text on a black background

contrast 19.68:1

Card sample

#f2faee text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2faee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2faee in the Color Lab