Skip to content

#fdfaf0

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

RGB
253, 250, 240
HSL
46°, 77%, 97%
CMYK
0, 1, 5, 1
Luminance
0.9555

Every format

HEX#fdfaf0
RGBrgb(253, 250, 240)
HSLhsl(46, 77%, 97%)
CMYKcmyk(0%, 1%, 5%, 1%)
LABlab(98.3 -0.7 5.1)
LCHlch(98.3 5.2 97.9)
OKLCHoklch(0.985 0.013 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfaf0 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fdfaf0 on black: 20.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.0%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow5.1%
Key (black)0.8%

Color previews

#fdfaf0 text on a black background

contrast 20.11:1

Card sample

#fdfaf0 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfaf0 in the Color Lab