Skip to content

#f0f2ed

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

RGB
240, 242, 237
HSL
84°, 16%, 94%
CMYK
1, 0, 2, 5
Luminance
0.8814

Every format

HEX#f0f2ed
RGBrgb(240, 242, 237)
HSLhsl(84, 16%, 94%)
CMYKcmyk(1%, 0%, 2%, 5%)
LABlab(95.2 -1.5 2.2)
LCHlch(95.2 2.7 125.4)
OKLCHoklch(0.958 0.007 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f2ed on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f0f2ed on black: 18.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green94.9%
Blue92.9%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow2.1%
Key (black)5.1%

Color previews

#f0f2ed text on a black background

contrast 18.63:1

Card sample

#f0f2ed text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f2ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f2ed in the Color Lab