Skip to content

#f0f7dd

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

RGB
240, 247, 221
HSL
76°, 62%, 92%
CMYK
3, 0, 11, 3
Luminance
0.9027

Every format

HEX#f0f7dd
RGBrgb(240, 247, 221)
HSLhsl(76, 62%, 92%)
CMYKcmyk(3%, 0%, 11%, 3%)
LABlab(96.1 -6.8 11.7)
LCHlch(96.1 13.5 120.0)
OKLCHoklch(0.964 0.035 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f7dd on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f0f7dd on black: 19.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green96.9%
Blue86.7%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow10.5%
Key (black)3.1%

Color previews

#f0f7dd text on a black background

contrast 19.05:1

Card sample

#f0f7dd text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f7dd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f7dd in the Color Lab