Skip to content

#faffd8

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

RGB
250, 255, 216
HSL
68°, 100%, 92%
CMYK
2, 0, 15, 0
Luminance
0.9680

Every format

HEX#faffd8
RGBrgb(250, 255, 216)
HSLhsl(68, 100%, 92%)
CMYKcmyk(2%, 0%, 15%, 0%)
LABlab(98.8 -8.1 18.1)
LCHlch(98.8 19.8 114.0)
OKLCHoklch(0.986 0.051 113.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue84.7%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow15.3%
Key (black)0.0%

Color previews

#faffd8 text on a black background

contrast 20.36:1

Card sample

#faffd8 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffd8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffd8 in the Color Lab