Skip to content

#fffad8

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

RGB
255, 250, 216
HSL
52°, 100%, 92%
CMYK
0, 2, 15, 0
Luminance
0.9459

Every format

HEX#fffad8
RGBrgb(255, 250, 216)
HSLhsl(52, 100%, 92%)
CMYKcmyk(0%, 2%, 15%, 0%)
LABlab(97.9 -3.8 16.9)
LCHlch(97.9 17.4 102.7)
OKLCHoklch(0.980 0.044 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.0%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow15.3%
Key (black)0.0%

Color previews

#fffad8 text on a black background

contrast 19.92:1

Card sample

#fffad8 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffad8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffad8 in the Color Lab