Skip to content

#f4fca6

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

RGB
244, 252, 166
HSL
66°, 94%, 82%
CMYK
3, 0, 34, 1
Luminance
0.9161

Every format

HEX#f4fca6
RGBrgb(244, 252, 166)
HSLhsl(66, 94%, 82%)
CMYKcmyk(3%, 0%, 34%, 1%)
LABlab(96.7 -15.5 40.4)
LCHlch(96.7 43.2 111.0)
OKLCHoklch(0.966 0.108 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4fca6 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f4fca6 on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green98.8%
Blue65.1%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow34.1%
Key (black)1.2%

Color previews

#f4fca6 text on a black background

contrast 19.32:1

Card sample

#f4fca6 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4fca6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4fca6 in the Color Lab