Skip to content

#fffef6

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

RGB
255, 254, 246
HSL
53°, 100%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9880

Every format

HEX#fffef6
RGBrgb(255, 254, 246)
HSLhsl(53, 100%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.5 -1.1 3.9)
LCHlch(99.5 4.1 105.0)
OKLCHoklch(0.996 0.011 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue96.5%

CMYK percentages

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

Color previews

#fffef6 text on a black background

contrast 20.76:1

Card sample

#fffef6 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef6 in the Color Lab