Skip to content

#f4df8b

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

RGB
244, 223, 139
HSL
48°, 83%, 75%
CMYK
0, 9, 43, 4
Luminance
0.7387

Every format

HEX#f4df8b
RGBrgb(244, 223, 139)
HSLhsl(48, 83%, 75%)
CMYKcmyk(0%, 9%, 43%, 4%)
LABlab(88.9 -4.0 43.7)
LCHlch(88.9 43.9 95.3)
OKLCHoklch(0.903 0.107 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green87.5%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow43.0%
Key (black)4.3%

Color previews

#f4df8b text on a black background

contrast 15.77:1

Card sample

#f4df8b text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4df8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4df8b in the Color Lab