Skip to content

#faf2cd

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

RGB
250, 242, 205
HSL
49°, 82%, 89%
CMYK
0, 3, 18, 2
Luminance
0.8824

Every format

HEX#faf2cd
RGBrgb(250, 242, 205)
HSLhsl(49, 82%, 89%)
CMYKcmyk(0%, 3%, 18%, 2%)
LABlab(95.3 -3.2 18.9)
LCHlch(95.3 19.1 99.7)
OKLCHoklch(0.958 0.049 97.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf2cd on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#faf2cd on black: 18.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green94.9%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow18.0%
Key (black)2.0%

Color previews

#faf2cd text on a black background

contrast 18.65:1

Card sample

#faf2cd text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf2cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf2cd in the Color Lab