Skip to content

#f2faeb

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

RGB
242, 250, 235
HSL
92°, 60%, 95%
CMYK
3, 0, 6, 2
Luminance
0.9325

Every format

HEX#f2faeb
RGBrgb(242, 250, 235)
HSLhsl(92, 60%, 95%)
CMYKcmyk(3%, 0%, 6%, 2%)
LABlab(97.3 -5.3 6.3)
LCHlch(97.3 8.2 130.0)
OKLCHoklch(0.975 0.021 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.0%
Blue92.2%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow6.0%
Key (black)2.0%

Color previews

#f2faeb text on a black background

contrast 19.65:1

Card sample

#f2faeb text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2faeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2faeb in the Color Lab