Skip to content

#fffcec

a pale, electric yellow · cool · “ivory”

RGB
255, 252, 236
HSL
51°, 100%, 96%
CMYK
0, 1, 8, 0
Luminance
0.9694

Every format

HEX#fffcec
RGBrgb(255, 252, 236)
HSLhsl(51, 100%, 96%)
CMYKcmyk(0%, 1%, 8%, 0%)
LABlab(98.8 -1.7 8.0)
LCHlch(98.8 8.2 102.0)
OKLCHoklch(0.989 0.021 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffcec on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fffcec on black: 20.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow7.5%
Key (black)0.0%

Color previews

#fffcec text on a black background

contrast 20.39:1

Card sample

#fffcec text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcec in the Color Lab