Skip to content

#fff4cb

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

RGB
255, 244, 203
HSL
47°, 100%, 90%
CMYK
0, 4, 20, 0
Luminance
0.9027

Every format

HEX#fff4cb
RGBrgb(255, 244, 203)
HSLhsl(47, 100%, 90%)
CMYKcmyk(0%, 4%, 20%, 0%)
LABlab(96.1 -2.7 21.1)
LCHlch(96.1 21.3 97.3)
OKLCHoklch(0.966 0.054 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green95.7%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow20.4%
Key (black)0.0%

Color previews

#fff4cb text on a black background

contrast 19.05:1

Card sample

#fff4cb text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4cb in the Color Lab