Skip to content

#fff9db

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

RGB
255, 249, 219
HSL
50°, 100%, 93%
CMYK
0, 2, 14, 0
Luminance
0.9413

Every format

HEX#fff9db
RGBrgb(255, 249, 219)
HSLhsl(50, 100%, 93%)
CMYKcmyk(0%, 2%, 14%, 0%)
LABlab(97.7 -2.9 15.1)
LCHlch(97.7 15.4 100.7)
OKLCHoklch(0.979 0.040 97.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green97.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow14.1%
Key (black)0.0%

Color previews

#fff9db text on a black background

contrast 19.83:1

Card sample

#fff9db text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff9db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff9db in the Color Lab