Skip to content

#fef2dc

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

RGB
254, 242, 220
HSL
39°, 94%, 93%
CMYK
0, 5, 13, 0
Luminance
0.8974

Every format

HEX#fef2dc
RGBrgb(254, 242, 220)
HSLhsl(39, 94%, 93%)
CMYKcmyk(0%, 5%, 13%, 0%)
LABlab(95.9 0.5 12.1)
LCHlch(95.9 12.1 87.8)
OKLCHoklch(0.965 0.032 82.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef2dc on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fef2dc on black: 18.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.9%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow13.4%
Key (black)0.4%

Color previews

#fef2dc text on a black background

contrast 18.95:1

Card sample

#fef2dc text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef2dc in the Color Lab