Skip to content

#fefdf6

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

RGB
254, 253, 246
HSL
53°, 80%, 98%
CMYK
0, 0, 3, 0
Luminance
0.9798

Every format

HEX#fefdf6
RGBrgb(254, 253, 246)
HSLhsl(53, 80%, 98%)
CMYKcmyk(0%, 0%, 3%, 0%)
LABlab(99.2 -0.9 3.5)
LCHlch(99.2 3.6 104.3)
OKLCHoklch(0.993 0.009 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdf6 on white: 1.02:1
AA ✗ fail · AA-large · AAA
Aa
#fefdf6 on black: 20.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue96.5%

CMYK percentages

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

Color previews

#fefdf6 text on a black background

contrast 20.60:1

Card sample

#fefdf6 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdf6 in the Color Lab