Skip to content

#fffce2

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

RGB
255, 252, 226
HSL
54°, 100%, 94%
CMYK
0, 1, 11, 0
Luminance
0.9637

Every format

HEX#fffce2
RGBrgb(255, 252, 226)
HSLhsl(54, 100%, 94%)
CMYKcmyk(0%, 1%, 11%, 0%)
LABlab(98.6 -3.3 12.8)
LCHlch(98.6 13.2 104.4)
OKLCHoklch(0.987 0.034 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow11.4%
Key (black)0.0%

Color previews

#fffce2 text on a black background

contrast 20.27:1

Card sample

#fffce2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffce2 in the Color Lab