Skip to content

#faf2df

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

RGB
250, 242, 223
HSL
42°, 73%, 93%
CMYK
0, 3, 11, 2
Luminance
0.8916

Every format

HEX#faf2df
RGBrgb(250, 242, 223)
HSLhsl(42, 73%, 93%)
CMYKcmyk(0%, 3%, 11%, 2%)
LABlab(95.7 -0.5 10.1)
LCHlch(95.7 10.1 92.7)
OKLCHoklch(0.962 0.026 87.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green94.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow10.8%
Key (black)2.0%

Color previews

#faf2df text on a black background

contrast 18.83:1

Card sample

#faf2df text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf2df in the Color Lab