Skip to content

#fef2df

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

RGB
254, 242, 223
HSL
37°, 94%, 94%
CMYK
0, 5, 12, 0
Luminance
0.8990

Every format

HEX#fef2df
RGBrgb(254, 242, 223)
HSLhsl(37, 94%, 94%)
CMYKcmyk(0%, 5%, 12%, 0%)
LABlab(96.0 0.9 10.6)
LCHlch(96.0 10.7 85.0)
OKLCHoklch(0.966 0.028 79.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green94.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow12.2%
Key (black)0.4%

Color previews

#fef2df text on a black background

contrast 18.98:1

Card sample

#fef2df text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef2df in the Color Lab