Skip to content

#fff6db

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

RGB
255, 246, 219
HSL
45°, 100%, 93%
CMYK
0, 4, 14, 0
Luminance
0.9229

Every format

HEX#fff6db
RGBrgb(255, 246, 219)
HSLhsl(45, 100%, 93%)
CMYKcmyk(0%, 4%, 14%, 0%)
LABlab(96.9 -1.4 14.1)
LCHlch(96.9 14.1 95.5)
OKLCHoklch(0.973 0.036 91.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green96.5%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow14.1%
Key (black)0.0%

Color previews

#fff6db text on a black background

contrast 19.46:1

Card sample

#fff6db text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff6db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff6db in the Color Lab