Skip to content

#fafaf7

a pale, soft yellow · cool · “white”

RGB
250, 250, 247
HSL
60°, 23%, 98%
CMYK
0, 0, 1, 2
Luminance
0.9541

Every format

HEX#fafaf7
RGBrgb(250, 250, 247)
HSLhsl(60, 23%, 98%)
CMYKcmyk(0%, 0%, 1%, 2%)
LABlab(98.2 -0.5 1.4)
LCHlch(98.2 1.5 110.0)
OKLCHoklch(0.984 0.004 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fafaf7 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fafaf7 on black: 20.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green98.0%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow1.2%
Key (black)2.0%

Color previews

#fafaf7 text on a black background

contrast 20.08:1

Card sample

#fafaf7 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fafaf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fafaf7 in the Color Lab