Skip to content

#fffdf5

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

RGB
255, 253, 245
HSL
48°, 100%, 98%
CMYK
0, 1, 4, 0
Luminance
0.9810

Every format

HEX#fffdf5
RGBrgb(255, 253, 245)
HSLhsl(48, 100%, 98%)
CMYKcmyk(0%, 1%, 4%, 0%)
LABlab(99.3 -0.7 4.0)
LCHlch(99.3 4.1 99.9)
OKLCHoklch(0.993 0.011 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow3.9%
Key (black)0.0%

Color previews

#fffdf5 text on a black background

contrast 20.62:1

Card sample

#fffdf5 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdf5 in the Color Lab