Skip to content

#faf1dc

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

RGB
250, 241, 220
HSL
42°, 75%, 92%
CMYK
0, 4, 12, 2
Luminance
0.8840

Every format

HEX#faf1dc
RGBrgb(250, 241, 220)
HSLhsl(42, 75%, 92%)
CMYKcmyk(0%, 4%, 12%, 2%)
LABlab(95.3 -0.4 11.2)
LCHlch(95.3 11.2 92.2)
OKLCHoklch(0.960 0.029 87.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf1dc on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#faf1dc on black: 18.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green94.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow12.0%
Key (black)2.0%

Color previews

#faf1dc text on a black background

contrast 18.68:1

Card sample

#faf1dc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf1dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf1dc in the Color Lab