Skip to content

#fbf2cf

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

RGB
251, 242, 207
HSL
48°, 85%, 90%
CMYK
0, 4, 18, 2
Luminance
0.8852

Every format

HEX#fbf2cf
RGBrgb(251, 242, 207)
HSLhsl(48, 85%, 90%)
CMYKcmyk(0%, 4%, 18%, 2%)
LABlab(95.4 -2.6 18.0)
LCHlch(95.4 18.2 98.1)
OKLCHoklch(0.959 0.047 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green94.9%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow17.5%
Key (black)1.6%

Color previews

#fbf2cf text on a black background

contrast 18.70:1

Card sample

#fbf2cf text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2cf in the Color Lab