Skip to content

#fffccc

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

RGB
255, 252, 204
HSL
57°, 100%, 90%
CMYK
0, 1, 20, 0
Luminance
0.9524

Every format

HEX#fffccc
RGBrgb(255, 252, 204)
HSLhsl(57, 100%, 90%)
CMYKcmyk(0%, 1%, 20%, 0%)
LABlab(98.1 -6.6 23.4)
LCHlch(98.1 24.3 105.7)
OKLCHoklch(0.982 0.062 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue80.0%

CMYK percentages

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

Color previews

#fffccc text on a black background

contrast 20.05:1

Card sample

#fffccc text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffccc in the Color Lab