Skip to content

#f4f9b8

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

RGB
244, 249, 184
HSL
65°, 84%, 85%
CMYK
2, 0, 26, 2
Luminance
0.9045

Every format

HEX#f4f9b8
RGBrgb(244, 249, 184)
HSLhsl(65, 84%, 85%)
CMYKcmyk(2%, 0%, 26%, 2%)
LABlab(96.2 -11.8 30.7)
LCHlch(96.2 32.9 111.0)
OKLCHoklch(0.963 0.083 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4f9b8 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f4f9b8 on black: 19.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green97.6%
Blue72.2%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow26.1%
Key (black)2.4%

Color previews

#f4f9b8 text on a black background

contrast 19.09:1

Card sample

#f4f9b8 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4f9b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4f9b8 in the Color Lab