Skip to content

#fffcf5

a pale, electric yellow · warm · closest name: white

RGB
255, 252, 245
HSL
42°, 100%, 98%
CMYK
0, 1, 4, 0
Luminance
0.9747

Every format

HEX#fffcf5
RGBrgb(255, 252, 245)
HSLhsl(42, 100%, 98%)
CMYKcmyk(0%, 1%, 4%, 0%)
LABlab(99.0 -0.2 3.7)
LCHlch(99.0 3.7 93.2)
OKLCHoklch(0.991 0.010 87.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow3.9%
Key (black)0.0%

Color previews

#fffcf5 text on a black background

contrast 20.49:1

Card sample

#fffcf5 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcf5 in the Color Lab