Skip to content

#fffdc2

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

RGB
255, 253, 194
HSL
58°, 100%, 88%
CMYK
0, 1, 24, 0
Luminance
0.9541

Every format

HEX#fffdc2
RGBrgb(255, 253, 194)
HSLhsl(58, 100%, 88%)
CMYKcmyk(0%, 1%, 24%, 0%)
LABlab(98.2 -8.4 28.6)
LCHlch(98.2 29.8 106.4)
OKLCHoklch(0.982 0.075 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow23.9%
Key (black)0.0%

Color previews

#fffdc2 text on a black background

contrast 20.08:1

Card sample

#fffdc2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdc2 in the Color Lab