Skip to content

#f8fcdf

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

RGB
248, 252, 223
HSL
68°, 83%, 93%
CMYK
2, 0, 12, 1
Luminance
0.9490

Every format

HEX#f8fcdf
RGBrgb(248, 252, 223)
HSLhsl(68, 83%, 93%)
CMYKcmyk(2%, 0%, 12%, 1%)
LABlab(98.0 -6.2 13.4)
LCHlch(98.0 14.8 114.7)
OKLCHoklch(0.981 0.038 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8fcdf on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f8fcdf on black: 19.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green98.8%
Blue87.5%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow11.5%
Key (black)1.2%

Color previews

#f8fcdf text on a black background

contrast 19.98:1

Card sample

#f8fcdf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8fcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8fcdf in the Color Lab