Skip to content

#f4df8f

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

RGB
244, 223, 143
HSL
48°, 82%, 76%
CMYK
0, 9, 41, 4
Luminance
0.7399

Every format

HEX#f4df8f
RGBrgb(244, 223, 143)
HSLhsl(48, 82%, 76%)
CMYKcmyk(0%, 9%, 41%, 4%)
LABlab(88.9 -3.6 41.8)
LCHlch(88.9 41.9 95.0)
OKLCHoklch(0.903 0.102 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green87.5%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow41.4%
Key (black)4.3%

Color previews

#f4df8f text on a black background

contrast 15.80:1

Card sample

#f4df8f text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4df8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4df8f in the Color Lab