Skip to content

#fff4b8

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

RGB
255, 244, 184
HSL
51°, 100%, 86%
CMYK
0, 4, 28, 0
Luminance
0.8942

Every format

HEX#fff4b8
RGBrgb(255, 244, 184)
HSLhsl(51, 100%, 86%)
CMYKcmyk(0%, 4%, 28%, 0%)
LABlab(95.8 -5.3 30.3)
LCHlch(95.8 30.8 99.8)
OKLCHoklch(0.962 0.077 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff4b8 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fff4b8 on black: 18.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green95.7%
Blue72.2%

CMYK percentages

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

Color previews

#fff4b8 text on a black background

contrast 18.88:1

Card sample

#fff4b8 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4b8 in the Color Lab