Skip to content

#fffdf2

a pale, electric yellow · cool · “ivory”

RGB
255, 253, 242
HSL
51°, 100%, 98%
CMYK
0, 1, 5, 0
Luminance
0.9792

Every format

HEX#fffdf2
RGBrgb(255, 253, 242)
HSLhsl(51, 100%, 98%)
CMYKcmyk(0%, 1%, 5%, 0%)
LABlab(99.2 -1.2 5.5)
LCHlch(99.2 5.6 102.5)
OKLCHoklch(0.993 0.015 98.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow5.1%
Key (black)0.0%

Color previews

#fffdf2 text on a black background

contrast 20.58:1

Card sample

#fffdf2 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdf2 in the Color Lab