Skip to content

#fefad8

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

RGB
254, 250, 216
HSL
54°, 95%, 92%
CMYK
0, 2, 15, 0
Luminance
0.9440

Every format

HEX#fefad8
RGBrgb(254, 250, 216)
HSLhsl(54, 95%, 92%)
CMYKcmyk(0%, 2%, 15%, 0%)
LABlab(97.8 -4.2 16.8)
LCHlch(97.8 17.3 104.0)
OKLCHoklch(0.980 0.044 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefad8 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefad8 on black: 19.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.0%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow15.0%
Key (black)0.4%

Color previews

#fefad8 text on a black background

contrast 19.88:1

Card sample

#fefad8 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefad8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefad8 in the Color Lab