Skip to content

#f2f9f1

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

RGB
242, 249, 241
HSL
113°, 40%, 96%
CMYK
3, 0, 3, 2
Luminance
0.9298

Every format

HEX#f2f9f1
RGBrgb(242, 249, 241)
HSLhsl(113, 40%, 96%)
CMYKcmyk(3%, 0%, 3%, 2%)
LABlab(97.2 -3.7 3.0)
LCHlch(97.2 4.8 140.8)
OKLCHoklch(0.975 0.013 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green97.6%
Blue94.5%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow3.2%
Key (black)2.4%

Color previews

#f2f9f1 text on a black background

contrast 19.60:1

Card sample

#f2f9f1 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f9f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2f9f1 in the Color Lab