Skip to content

#f8facf

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

RGB
248, 250, 207
HSL
63°, 81%, 90%
CMYK
1, 0, 17, 2
Luminance
0.9283

Every format

HEX#f8facf
RGBrgb(248, 250, 207)
HSLhsl(63, 81%, 90%)
CMYKcmyk(1%, 0%, 17%, 2%)
LABlab(97.2 -7.6 20.4)
LCHlch(97.2 21.8 110.5)
OKLCHoklch(0.973 0.056 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.3%
Green98.0%
Blue81.2%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow17.2%
Key (black)2.0%

Color previews

#f8facf text on a black background

contrast 19.57:1

Card sample

#f8facf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8facf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8facf in the Color Lab