Skip to content

#fbfbf2

a pale, vivid yellow · cool · closest name: ivory

RGB
251, 251, 242
HSL
60°, 53%, 97%
CMYK
0, 0, 4, 2
Luminance
0.9591

Every format

HEX#fbfbf2
RGBrgb(251, 251, 242)
HSLhsl(60, 53%, 97%)
CMYKcmyk(0%, 0%, 4%, 2%)
LABlab(98.4 -1.6 4.3)
LCHlch(98.4 4.6 109.8)
OKLCHoklch(0.986 0.012 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbfbf2 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fbfbf2 on black: 20.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green98.4%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow3.6%
Key (black)1.6%

Color previews

#fbfbf2 text on a black background

contrast 20.18:1

Card sample

#fbfbf2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbfbf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbfbf2 in the Color Lab