Skip to content

#f0ebdc

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

RGB
240, 235, 220
HSL
45°, 40%, 90%
CMYK
0, 2, 8, 6
Luminance
0.8311

Every format

HEX#f0ebdc
RGBrgb(240, 235, 220)
HSLhsl(45, 40%, 90%)
CMYKcmyk(0%, 2%, 8%, 6%)
LABlab(93.1 -0.9 7.9)
LCHlch(93.1 7.9 96.2)
OKLCHoklch(0.940 0.021 91.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green92.2%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow8.3%
Key (black)5.9%

Color previews

#f0ebdc text on a black background

contrast 17.62:1

Card sample

#f0ebdc text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ebdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ebdc in the Color Lab