Skip to content

#fef5df

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

RGB
254, 245, 223
HSL
43°, 94%, 94%
CMYK
0, 4, 12, 0
Luminance
0.9170

Every format

HEX#fef5df
RGBrgb(254, 245, 223)
HSLhsl(43, 94%, 94%)
CMYKcmyk(0%, 4%, 12%, 0%)
LABlab(96.7 -0.6 11.7)
LCHlch(96.7 11.7 92.9)
OKLCHoklch(0.971 0.030 88.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef5df on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fef5df on black: 19.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green96.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow12.2%
Key (black)0.4%

Color previews

#fef5df text on a black background

contrast 19.34:1

Card sample

#fef5df text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef5df in the Color Lab