Skip to content

#faf7c2

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

RGB
250, 247, 194
HSL
57°, 85%, 87%
CMYK
0, 1, 22, 2
Luminance
0.9074

Every format

HEX#faf7c2
RGBrgb(250, 247, 194)
HSLhsl(57, 85%, 87%)
CMYKcmyk(0%, 1%, 22%, 2%)
LABlab(96.3 -7.3 25.9)
LCHlch(96.3 26.9 105.6)
OKLCHoklch(0.966 0.068 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf7c2 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#faf7c2 on black: 19.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green96.9%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow22.4%
Key (black)2.0%

Color previews

#faf7c2 text on a black background

contrast 19.15:1

Card sample

#faf7c2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf7c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf7c2 in the Color Lab