Skip to content

#f0f6df

a pale, vivid green · cool · “beige”

RGB
240, 246, 223
HSL
76°, 56%, 92%
CMYK
2, 0, 9, 4
Luminance
0.8976

Every format

HEX#f0f6df
RGBrgb(240, 246, 223)
HSLhsl(76, 56%, 92%)
CMYKcmyk(2%, 0%, 9%, 4%)
LABlab(95.9 -5.9 10.4)
LCHlch(95.9 11.9 119.7)
OKLCHoklch(0.963 0.031 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f6df on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f0f6df on black: 18.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green96.5%
Blue87.5%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow9.3%
Key (black)3.5%

Color previews

#f0f6df text on a black background

contrast 18.95:1

Card sample

#f0f6df text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f6df in the Color Lab