Skip to content

#f4df8d

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

RGB
244, 223, 141
HSL
48°, 82%, 76%
CMYK
0, 9, 42, 4
Luminance
0.7393

Every format

HEX#f4df8d
RGBrgb(244, 223, 141)
HSLhsl(48, 82%, 76%)
CMYKcmyk(0%, 9%, 42%, 4%)
LABlab(88.9 -3.8 42.7)
LCHlch(88.9 42.9 95.1)
OKLCHoklch(0.903 0.104 95.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4df8d on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#f4df8d on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green87.5%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow42.2%
Key (black)4.3%

Color previews

#f4df8d text on a black background

contrast 15.79:1

Card sample

#f4df8d text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4df8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4df8d in the Color Lab