Skip to content

#fff4ad

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

RGB
255, 244, 173
HSL
52°, 100%, 84%
CMYK
0, 4, 32, 0
Luminance
0.8898

Every format

HEX#fff4ad
RGBrgb(255, 244, 173)
HSLhsl(52, 100%, 84%)
CMYKcmyk(0%, 4%, 32%, 0%)
LABlab(95.6 -6.6 35.6)
LCHlch(95.6 36.2 100.5)
OKLCHoklch(0.960 0.090 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff4ad on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fff4ad on black: 18.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green95.7%
Blue67.8%

CMYK percentages

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

Color previews

#fff4ad text on a black background

contrast 18.80:1

Card sample

#fff4ad text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff4ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff4ad in the Color Lab