Skip to content

#fffef1

a pale, electric yellow · cool · “ivory”

RGB
255, 254, 241
HSL
56°, 100%, 97%
CMYK
0, 0, 6, 0
Luminance
0.9849

Every format

HEX#fffef1
RGBrgb(255, 254, 241)
HSLhsl(56, 100%, 97%)
CMYKcmyk(0%, 0%, 6%, 0%)
LABlab(99.4 -1.9 6.3)
LCHlch(99.4 6.6 106.5)
OKLCHoklch(0.994 0.017 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffef1 on white: 1.01:1
AA ✗ fail · AA-large · AAA
Aa
#fffef1 on black: 20.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow5.5%
Key (black)0.0%

Color previews

#fffef1 text on a black background

contrast 20.70:1

Card sample

#fffef1 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef1 in the Color Lab