Skip to content

#fefdf4

a pale, electric yellow · cool · closest name: ivory

RGB
254, 253, 244
HSL
54°, 83%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9785

Every format

HEX#fefdf4
RGBrgb(254, 253, 244)
HSLhsl(54, 83%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.2 -1.2 4.4)
LCHlch(99.2 4.6 105.4)
OKLCHoklch(0.992 0.012 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdf4 on white: 1.02:1
AA ✗ fail · AA-large · AAA
Aa
#fefdf4 on black: 20.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow3.9%
Key (black)0.4%

Color previews

#fefdf4 text on a black background

contrast 20.57:1

Card sample

#fefdf4 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdf4 in the Color Lab