Skip to content

#fff4cd

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

RGB
255, 244, 205
HSL
47°, 100%, 90%
CMYK
0, 4, 20, 0
Luminance
0.9037

Every format

HEX#fff4cd
RGBrgb(255, 244, 205)
HSLhsl(47, 100%, 90%)
CMYKcmyk(0%, 4%, 20%, 0%)
LABlab(96.2 -2.4 20.1)
LCHlch(96.2 20.3 96.8)
OKLCHoklch(0.966 0.052 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green95.7%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow19.6%
Key (black)0.0%

Color previews

#fff4cd text on a black background

contrast 19.07:1

Card sample

#fff4cd text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4cd in the Color Lab