Skip to content

#fffbe6

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

RGB
255, 251, 230
HSL
50°, 100%, 95%
CMYK
0, 2, 10, 0
Luminance
0.9597

Every format

HEX#fffbe6
RGBrgb(255, 251, 230)
HSLhsl(50, 100%, 95%)
CMYKcmyk(0%, 2%, 10%, 0%)
LABlab(98.4 -2.2 10.5)
LCHlch(98.4 10.8 101.6)
OKLCHoklch(0.986 0.028 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.4%
Blue90.2%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow9.8%
Key (black)0.0%

Color previews

#fffbe6 text on a black background

contrast 20.19:1

Card sample

#fffbe6 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbe6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbe6 in the Color Lab