Skip to content

#fff4b7

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

RGB
255, 244, 183
HSL
51°, 100%, 86%
CMYK
0, 4, 28, 0
Luminance
0.8938

Every format

HEX#fff4b7
RGBrgb(255, 244, 183)
HSLhsl(51, 100%, 86%)
CMYKcmyk(0%, 4%, 28%, 0%)
LABlab(95.7 -5.4 30.8)
LCHlch(95.7 31.3 99.9)
OKLCHoklch(0.961 0.079 99.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green95.7%
Blue71.8%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow28.2%
Key (black)0.0%

Color previews

#fff4b7 text on a black background

contrast 18.88:1

Card sample

#fff4b7 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4b7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4b7 in the Color Lab