Skip to content

#fbf8df

a pale, electric yellow · cool · “beige”

RGB
251, 248, 223
HSL
54°, 78%, 93%
CMYK
0, 1, 11, 2
Luminance
0.9297

Every format

HEX#fbf8df
RGBrgb(251, 248, 223)
HSLhsl(54, 78%, 93%)
CMYKcmyk(0%, 1%, 11%, 2%)
LABlab(97.2 -3.1 12.4)
LCHlch(97.2 12.8 104.3)
OKLCHoklch(0.975 0.033 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green97.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow11.2%
Key (black)1.6%

Color previews

#fbf8df text on a black background

contrast 19.59:1

Card sample

#fbf8df text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf8df in the Color Lab