Skip to content

#fdfef5

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

RGB
253, 254, 245
HSL
67°, 82%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9836

Every format

HEX#fdfef5
RGBrgb(253, 254, 245)
HSLhsl(67, 82%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.4 -1.9 4.2)
LCHlch(99.4 4.6 114.2)
OKLCHoklch(0.994 0.012 111.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.6%
Blue96.1%

CMYK percentages

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

Color previews

#fdfef5 text on a black background

contrast 20.67:1

Card sample

#fdfef5 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfef5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfef5 in the Color Lab