Skip to content

#fffbf0

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

RGB
255, 251, 240
HSL
44°, 100%, 97%
CMYK
0, 2, 6, 0
Luminance
0.9655

Every format

HEX#fffbf0
RGBrgb(255, 251, 240)
HSLhsl(44, 100%, 97%)
CMYKcmyk(0%, 2%, 6%, 0%)
LABlab(98.7 -0.5 5.7)
LCHlch(98.7 5.8 95.4)
OKLCHoklch(0.988 0.015 90.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.4%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow5.9%
Key (black)0.0%

Color previews

#fffbf0 text on a black background

contrast 20.31:1

Card sample

#fffbf0 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbf0 in the Color Lab