Skip to content

#fffbc3

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

RGB
255, 251, 195
HSL
56°, 100%, 88%
CMYK
0, 2, 24, 0
Luminance
0.9419

Every format

HEX#fffbc3
RGBrgb(255, 251, 195)
HSLhsl(56, 100%, 88%)
CMYKcmyk(0%, 2%, 24%, 0%)
LABlab(97.7 -7.3 27.4)
LCHlch(97.7 28.4 104.9)
OKLCHoklch(0.978 0.072 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.4%
Blue76.5%

CMYK percentages

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

Color previews

#fffbc3 text on a black background

contrast 19.84:1

Card sample

#fffbc3 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbc3 in the Color Lab