Skip to content

#fffcc3

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

RGB
255, 252, 195
HSL
57°, 100%, 88%
CMYK
0, 1, 24, 0
Luminance
0.9482

Every format

HEX#fffcc3
RGBrgb(255, 252, 195)
HSLhsl(57, 100%, 88%)
CMYKcmyk(0%, 1%, 24%, 0%)
LABlab(98.0 -7.8 27.7)
LCHlch(98.0 28.8 105.7)
OKLCHoklch(0.980 0.073 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue76.5%

CMYK percentages

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

Color previews

#fffcc3 text on a black background

contrast 19.96:1

Card sample

#fffcc3 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcc3 in the Color Lab