Skip to content

#f5f7df

a pale, vivid yellow · cool · “beige”

RGB
245, 247, 223
HSL
65°, 60%, 92%
CMYK
1, 0, 10, 3
Luminance
0.9126

Every format

HEX#f5f7df
RGBrgb(245, 247, 223)
HSLhsl(65, 60%, 92%)
CMYKcmyk(1%, 0%, 10%, 3%)
LABlab(96.5 -4.7 11.3)
LCHlch(96.5 12.3 112.6)
OKLCHoklch(0.968 0.032 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5f7df on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f5f7df on black: 19.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green96.9%
Blue87.5%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow9.7%
Key (black)3.1%

Color previews

#f5f7df text on a black background

contrast 19.25:1

Card sample

#f5f7df text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5f7df in the Color Lab