Skip to content

#f8fad2

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

RGB
248, 250, 210
HSL
63°, 80%, 90%
CMYK
1, 0, 16, 2
Luminance
0.9298

Every format

HEX#f8fad2
RGBrgb(248, 250, 210)
HSLhsl(63, 80%, 90%)
CMYKcmyk(1%, 0%, 16%, 2%)
LABlab(97.2 -7.2 19.0)
LCHlch(97.2 20.3 110.7)
OKLCHoklch(0.974 0.052 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8fad2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f8fad2 on black: 19.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green98.0%
Blue82.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow16.0%
Key (black)2.0%

Color previews

#f8fad2 text on a black background

contrast 19.60:1

Card sample

#f8fad2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8fad2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8fad2 in the Color Lab