Skip to content

#fffef5

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

RGB
255, 254, 245
HSL
54°, 100%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9874

Every format

HEX#fffef5
RGBrgb(255, 254, 245)
HSLhsl(54, 100%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.5 -1.2 4.4)
LCHlch(99.5 4.6 105.3)
OKLCHoklch(0.995 0.012 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue96.1%

CMYK percentages

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

Color previews

#fffef5 text on a black background

contrast 20.75:1

Card sample

#fffef5 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef5 in the Color Lab