Skip to content

#fffbc2

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

RGB
255, 251, 194
HSL
56°, 100%, 88%
CMYK
0, 2, 24, 0
Luminance
0.9415

Every format

HEX#fffbc2
RGBrgb(255, 251, 194)
HSLhsl(56, 100%, 88%)
CMYKcmyk(0%, 2%, 24%, 0%)
LABlab(97.7 -7.4 27.9)
LCHlch(97.7 28.9 104.9)
OKLCHoklch(0.978 0.073 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffbc2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fffbc2 on black: 19.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue76.1%

CMYK percentages

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

Color previews

#fffbc2 text on a black background

contrast 19.83:1

Card sample

#fffbc2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbc2 in the Color Lab