Skip to content

#f0ebdf

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

RGB
240, 235, 223
HSL
42°, 36%, 91%
CMYK
0, 2, 7, 6
Luminance
0.8327

Every format

HEX#f0ebdf
RGBrgb(240, 235, 223)
HSLhsl(42, 36%, 91%)
CMYKcmyk(0%, 2%, 7%, 6%)
LABlab(93.1 -0.4 6.4)
LCHlch(93.1 6.4 93.3)
OKLCHoklch(0.941 0.017 88.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ebdf on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#f0ebdf on black: 17.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green92.2%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow7.1%
Key (black)5.9%

Color previews

#f0ebdf text on a black background

contrast 17.65:1

Card sample

#f0ebdf text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ebdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ebdf in the Color Lab