Skip to content

#fef0dc

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

RGB
254, 240, 220
HSL
35°, 94%, 93%
CMYK
0, 6, 13, 0
Luminance
0.8856

Every format

HEX#fef0dc
RGBrgb(254, 240, 220)
HSLhsl(35, 94%, 93%)
CMYKcmyk(0%, 6%, 13%, 0%)
LABlab(95.4 1.5 11.4)
LCHlch(95.4 11.4 82.6)
OKLCHoklch(0.961 0.030 77.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green94.1%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow13.4%
Key (black)0.4%

Color previews

#fef0dc text on a black background

contrast 18.71:1

Card sample

#fef0dc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef0dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef0dc in the Color Lab