Skip to content

#fafaf5

a pale, soft yellow · cool · closest name: white

RGB
250, 250, 245
HSL
60°, 33%, 97%
CMYK
0, 0, 2, 2
Luminance
0.9529

Every format

HEX#fafaf5
RGBrgb(250, 250, 245)
HSLhsl(60, 33%, 97%)
CMYKcmyk(0%, 0%, 2%, 2%)
LABlab(98.2 -0.9 2.4)
LCHlch(98.2 2.5 110.0)
OKLCHoklch(0.984 0.007 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green98.0%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow2.0%
Key (black)2.0%

Color previews

#fafaf5 text on a black background

contrast 20.06:1

Card sample

#fafaf5 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fafaf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fafaf5 in the Color Lab