Skip to content

#fffef9

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

RGB
255, 254, 249
HSL
50°, 100%, 99%
CMYK
0, 0, 2, 0
Luminance
0.9898

Every format

HEX#fffef9
RGBrgb(255, 254, 249)
HSLhsl(50, 100%, 99%)
CMYKcmyk(0%, 0%, 2%, 0%)
LABlab(99.6 -0.5 2.5)
LCHlch(99.6 2.6 102.0)
OKLCHoklch(0.996 0.007 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow2.4%
Key (black)0.0%

Color previews

#fffef9 text on a black background

contrast 20.80:1

Card sample

#fffef9 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef9 in the Color Lab