Skip to content

#fffcd5

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

RGB
255, 252, 213
HSL
56°, 100%, 92%
CMYK
0, 1, 17, 0
Luminance
0.9568

Every format

HEX#fffcd5
RGBrgb(255, 252, 213)
HSLhsl(56, 100%, 92%)
CMYKcmyk(0%, 1%, 17%, 0%)
LABlab(98.3 -5.3 19.1)
LCHlch(98.3 19.8 105.4)
OKLCHoklch(0.984 0.051 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffcd5 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fffcd5 on black: 20.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow16.5%
Key (black)0.0%

Color previews

#fffcd5 text on a black background

contrast 20.14:1

Card sample

#fffcd5 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcd5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcd5 in the Color Lab