Skip to content

#fefdf7

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

RGB
254, 253, 247
HSL
51°, 78%, 98%
CMYK
0, 0, 3, 0
Luminance
0.9804

Every format

HEX#fefdf7
RGBrgb(254, 253, 247)
HSLhsl(51, 78%, 98%)
CMYKcmyk(0%, 0%, 3%, 0%)
LABlab(99.2 -0.7 3.0)
LCHlch(99.2 3.1 103.4)
OKLCHoklch(0.993 0.008 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.2%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow2.8%
Key (black)0.4%

Color previews

#fefdf7 text on a black background

contrast 20.61:1

Card sample

#fefdf7 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdf7 in the Color Lab