Skip to content

#fffcc7

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

RGB
255, 252, 199
HSL
57°, 100%, 89%
CMYK
0, 1, 22, 0
Luminance
0.9500

Every format

HEX#fffcc7
RGBrgb(255, 252, 199)
HSLhsl(57, 100%, 89%)
CMYKcmyk(0%, 1%, 22%, 0%)
LABlab(98.0 -7.3 25.8)
LCHlch(98.0 26.8 105.7)
OKLCHoklch(0.981 0.068 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue78.0%

CMYK percentages

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

Color previews

#fffcc7 text on a black background

contrast 20.00:1

Card sample

#fffcc7 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcc7 in the Color Lab