Skip to content

#fbf7df

a pale, electric yellow · cool · “beige”

RGB
251, 247, 223
HSL
51°, 78%, 93%
CMYK
0, 2, 11, 2
Luminance
0.9236

Every format

HEX#fbf7df
RGBrgb(251, 247, 223)
HSLhsl(51, 78%, 93%)
CMYKcmyk(0%, 2%, 11%, 2%)
LABlab(97.0 -2.6 12.0)
LCHlch(97.0 12.3 102.4)
OKLCHoklch(0.973 0.032 99.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf7df on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fbf7df on black: 19.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green96.9%
Blue87.5%

CMYK percentages

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

Color previews

#fbf7df text on a black background

contrast 19.47:1

Card sample

#fbf7df text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf7df in the Color Lab