Skip to content

#fffef7

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

RGB
255, 254, 247
HSL
53°, 100%, 98%
CMYK
0, 0, 3, 0
Luminance
0.9886

Every format

HEX#fffef7
RGBrgb(255, 254, 247)
HSLhsl(53, 100%, 98%)
CMYKcmyk(0%, 0%, 3%, 0%)
LABlab(99.6 -0.9 3.5)
LCHlch(99.6 3.6 104.3)
OKLCHoklch(0.996 0.009 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow3.1%
Key (black)0.0%

Color previews

#fffef7 text on a black background

contrast 20.77:1

Card sample

#fffef7 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef7 in the Color Lab