Skip to content

#fff4cf

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

RGB
255, 244, 207
HSL
46°, 100%, 91%
CMYK
0, 4, 19, 0
Luminance
0.9047

Every format

HEX#fff4cf
RGBrgb(255, 244, 207)
HSLhsl(46, 100%, 91%)
CMYKcmyk(0%, 4%, 19%, 0%)
LABlab(96.2 -2.1 19.2)
LCHlch(96.2 19.3 96.4)
OKLCHoklch(0.966 0.049 93.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green95.7%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow18.8%
Key (black)0.0%

Color previews

#fff4cf text on a black background

contrast 19.09:1

Card sample

#fff4cf text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4cf in the Color Lab