Skip to content

#fffcf3

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

RGB
255, 252, 243
HSL
45°, 100%, 98%
CMYK
0, 1, 5, 0
Luminance
0.9735

Every format

HEX#fffcf3
RGBrgb(255, 252, 243)
HSLhsl(45, 100%, 98%)
CMYKcmyk(0%, 1%, 5%, 0%)
LABlab(99.0 -0.5 4.7)
LCHlch(99.0 4.7 96.6)
OKLCHoklch(0.991 0.012 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffcf3 on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fffcf3 on black: 20.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow4.7%
Key (black)0.0%

Color previews

#fffcf3 text on a black background

contrast 20.47:1

Card sample

#fffcf3 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcf3 in the Color Lab