Skip to content

#fff9df

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

RGB
255, 249, 223
HSL
49°, 100%, 94%
CMYK
0, 2, 13, 0
Luminance
0.9434

Every format

HEX#fff9df
RGBrgb(255, 249, 223)
HSLhsl(49, 100%, 94%)
CMYKcmyk(0%, 2%, 13%, 0%)
LABlab(97.8 -2.3 13.2)
LCHlch(97.8 13.4 99.7)
OKLCHoklch(0.980 0.035 96.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff9df on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fff9df on black: 19.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green97.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow12.5%
Key (black)0.0%

Color previews

#fff9df text on a black background

contrast 19.87:1

Card sample

#fff9df text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff9df in the Color Lab