Skip to content

#fefdf3

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

RGB
254, 253, 243
HSL
55°, 85%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9779

Every format

HEX#fefdf3
RGBrgb(254, 253, 243)
HSLhsl(55, 85%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.1 -1.4 4.9)
LCHlch(99.1 5.1 105.8)
OKLCHoklch(0.992 0.013 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.2%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow4.3%
Key (black)0.4%

Color previews

#fefdf3 text on a black background

contrast 20.56:1

Card sample

#fefdf3 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdf3 in the Color Lab