Skip to content

#fff0dc

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

RGB
255, 240, 220
HSL
34°, 100%, 93%
CMYK
0, 6, 14, 0
Luminance
0.8875

Every format

HEX#fff0dc
RGBrgb(255, 240, 220)
HSLhsl(34, 100%, 93%)
CMYKcmyk(0%, 6%, 14%, 0%)
LABlab(95.5 1.8 11.5)
LCHlch(95.5 11.6 81.0)
OKLCHoklch(0.962 0.031 75.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff0dc on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fff0dc on black: 18.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.1%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow13.7%
Key (black)0.0%

Color previews

#fff0dc text on a black background

contrast 18.75:1

Card sample

#fff0dc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0dc in the Color Lab