Skip to content

#f0e9da

a pale, soft yellow · warm · closest name: beige

RGB
240, 233, 218
HSL
41°, 42%, 90%
CMYK
0, 3, 9, 6
Luminance
0.8187

Every format

HEX#f0e9da
RGBrgb(240, 233, 218)
HSLhsl(41, 42%, 90%)
CMYKcmyk(0%, 3%, 9%, 6%)
LABlab(92.5 -0.2 8.1)
LCHlch(92.5 8.1 91.2)
OKLCHoklch(0.935 0.021 85.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0e9da on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#f0e9da on black: 17.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green91.4%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow9.2%
Key (black)5.9%

Color previews

#f0e9da text on a black background

contrast 17.37:1

Card sample

#f0e9da text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0e9da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0e9da in the Color Lab