Skip to content

#fff5df

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

RGB
255, 245, 223
HSL
41°, 100%, 94%
CMYK
0, 4, 13, 0
Luminance
0.9189

Every format

HEX#fff5df
RGBrgb(255, 245, 223)
HSLhsl(41, 100%, 94%)
CMYKcmyk(0%, 4%, 13%, 0%)
LABlab(96.8 -0.2 11.8)
LCHlch(96.8 11.8 91.2)
OKLCHoklch(0.972 0.031 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff5df on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fff5df on black: 19.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green96.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow12.5%
Key (black)0.0%

Color previews

#fff5df text on a black background

contrast 19.38:1

Card sample

#fff5df text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff5df in the Color Lab