Skip to content

#fffbcc

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

RGB
255, 251, 204
HSL
55°, 100%, 90%
CMYK
0, 2, 20, 0
Luminance
0.9461

Every format

HEX#fffbcc
RGBrgb(255, 251, 204)
HSLhsl(55, 100%, 90%)
CMYKcmyk(0%, 2%, 20%, 0%)
LABlab(97.9 -6.1 23.1)
LCHlch(97.9 23.9 104.7)
OKLCHoklch(0.980 0.061 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffbcc on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fffbcc on black: 19.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow20.0%
Key (black)0.0%

Color previews

#fffbcc text on a black background

contrast 19.92:1

Card sample

#fffbcc text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbcc in the Color Lab