Skip to content

#fffbef

a pale, electric yellow · cool · “ivory”

RGB
255, 251, 239
HSL
45°, 100%, 97%
CMYK
0, 2, 6, 0
Luminance
0.9649

Every format

HEX#fffbef
RGBrgb(255, 251, 239)
HSLhsl(45, 100%, 97%)
CMYKcmyk(0%, 2%, 6%, 0%)
LABlab(98.6 -0.7 6.2)
LCHlch(98.6 6.3 96.5)
OKLCHoklch(0.988 0.016 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffbef on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fffbef on black: 20.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow6.3%
Key (black)0.0%

Color previews

#fffbef text on a black background

contrast 20.30:1

Card sample

#fffbef text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbef in the Color Lab