Skip to content

#fffcc4

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

RGB
255, 252, 196
HSL
57°, 100%, 88%
CMYK
0, 1, 23, 0
Luminance
0.9487

Every format

HEX#fffcc4
RGBrgb(255, 252, 196)
HSLhsl(57, 100%, 88%)
CMYKcmyk(0%, 1%, 23%, 0%)
LABlab(98.0 -7.7 27.3)
LCHlch(98.0 28.3 105.7)
OKLCHoklch(0.980 0.072 105.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow23.1%
Key (black)0.0%

Color previews

#fffcc4 text on a black background

contrast 19.97:1

Card sample

#fffcc4 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcc4 in the Color Lab