Skip to content

#f5f5df

a pale, vivid yellow · cool · “beige”

RGB
245, 245, 223
HSL
60°, 52%, 92%
CMYK
0, 0, 9, 4
Luminance
0.9005

Every format

HEX#f5f5df
RGBrgb(245, 245, 223)
HSLhsl(60, 52%, 92%)
CMYKcmyk(0%, 0%, 9%, 4%)
LABlab(96.0 -3.7 10.6)
LCHlch(96.0 11.2 109.3)
OKLCHoklch(0.964 0.029 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow9.0%
Key (black)3.9%

Color previews

#f5f5df text on a black background

contrast 19.01:1

Card sample

#f5f5df text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5f5df in the Color Lab