Skip to content

#f8fadc

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

RGB
248, 250, 220
HSL
64°, 75%, 92%
CMYK
1, 0, 12, 2
Luminance
0.9349

Every format

HEX#f8fadc
RGBrgb(248, 250, 220)
HSLhsl(64, 75%, 92%)
CMYKcmyk(1%, 0%, 12%, 2%)
LABlab(97.4 -5.7 14.2)
LCHlch(97.4 15.3 111.8)
OKLCHoklch(0.976 0.039 110.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8fadc on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f8fadc on black: 19.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green98.0%
Blue86.3%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow12.0%
Key (black)2.0%

Color previews

#f8fadc text on a black background

contrast 19.70:1

Card sample

#f8fadc text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8fadc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8fadc in the Color Lab