Skip to content

#f8f5df

a pale, vivid yellow · cool · “beige”

RGB
248, 245, 223
HSL
53°, 64%, 92%
CMYK
0, 1, 10, 3
Luminance
0.9059

Every format

HEX#f8f5df
RGBrgb(248, 245, 223)
HSLhsl(53, 64%, 92%)
CMYKcmyk(0%, 1%, 10%, 3%)
LABlab(96.2 -2.7 10.9)
LCHlch(96.2 11.3 103.8)
OKLCHoklch(0.967 0.029 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8f5df on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f8f5df on black: 19.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green96.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow10.1%
Key (black)2.7%

Color previews

#f8f5df text on a black background

contrast 19.12:1

Card sample

#f8f5df text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8f5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8f5df in the Color Lab