Skip to content

#f2fbee

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

RGB
242, 251, 238
HSL
102°, 62%, 96%
CMYK
4, 0, 5, 2
Luminance
0.9404

Every format

HEX#f2fbee
RGBrgb(242, 251, 238)
HSLhsl(102, 62%, 96%)
CMYKcmyk(4%, 0%, 5%, 2%)
LABlab(97.7 -5.3 5.2)
LCHlch(97.7 7.4 135.3)
OKLCHoklch(0.978 0.019 135.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2fbee on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f2fbee on black: 19.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green98.4%
Blue93.3%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow5.2%
Key (black)1.6%

Color previews

#f2fbee text on a black background

contrast 19.81:1

Card sample

#f2fbee text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fbee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fbee in the Color Lab