Skip to content

#fbf2db

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

RGB
251, 242, 219
HSL
43°, 80%, 92%
CMYK
0, 4, 13, 2
Luminance
0.8913

Every format

HEX#fbf2db
RGBrgb(251, 242, 219)
HSLhsl(43, 80%, 92%)
CMYKcmyk(0%, 4%, 13%, 2%)
LABlab(95.6 -0.8 12.2)
LCHlch(95.6 12.2 93.5)
OKLCHoklch(0.962 0.032 89.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf2db on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fbf2db on black: 18.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.9%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow12.7%
Key (black)1.6%

Color previews

#fbf2db text on a black background

contrast 18.83:1

Card sample

#fbf2db text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2db in the Color Lab