Skip to content

#fbf2df

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

RGB
251, 242, 223
HSL
41°, 78%, 93%
CMYK
0, 4, 11, 2
Luminance
0.8934

Every format

HEX#fbf2df
RGBrgb(251, 242, 223)
HSLhsl(41, 78%, 93%)
CMYKcmyk(0%, 4%, 11%, 2%)
LABlab(95.7 -0.1 10.2)
LCHlch(95.7 10.2 90.7)
OKLCHoklch(0.963 0.027 85.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf2df on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fbf2df on black: 18.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.9%
Blue87.5%

CMYK percentages

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

Color previews

#fbf2df text on a black background

contrast 18.87:1

Card sample

#fbf2df text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2df in the Color Lab