Skip to content

#f4df5c

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

RGB
244, 223, 92
HSL
52°, 87%, 66%
CMYK
0, 9, 62, 4
Luminance
0.7278

Every format

HEX#f4df5c
RGBrgb(244, 223, 92)
HSLhsl(52, 87%, 66%)
CMYKcmyk(0%, 9%, 62%, 4%)
LABlab(88.3 -7.8 64.9)
LCHlch(88.3 65.3 96.9)
OKLCHoklch(0.897 0.150 100.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4df5c on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f4df5c on black: 15.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green87.5%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow62.3%
Key (black)4.3%

Color previews

#f4df5c text on a black background

contrast 15.56:1

Card sample

#f4df5c text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4df5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4df5c in the Color Lab