Skip to content

#f0decf

a pale, vivid orange · warm · closest name: beige

RGB
240, 222, 207
HSL
27°, 52%, 88%
CMYK
0, 8, 14, 6
Luminance
0.7527

Every format

HEX#f0decf
RGBrgb(240, 222, 207)
HSLhsl(27, 52%, 88%)
CMYKcmyk(0%, 8%, 14%, 6%)
LABlab(89.5 3.7 9.6)
LCHlch(89.5 10.3 68.7)
OKLCHoklch(0.911 0.028 62.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0decf on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f0decf on black: 16.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green87.1%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow13.7%
Key (black)5.9%

Color previews

#f0decf text on a black background

contrast 16.05:1

Card sample

#f0decf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0decf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0decf in the Color Lab