Skip to content

#fdf19f

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

RGB
253, 241, 159
HSL
52°, 96%, 81%
CMYK
0, 5, 37, 1
Luminance
0.8630

Every format

HEX#fdf19f
RGBrgb(253, 241, 159)
HSLhsl(52, 96%, 81%)
CMYKcmyk(0%, 5%, 37%, 1%)
LABlab(94.4 -7.5 41.1)
LCHlch(94.4 41.7 100.3)
OKLCHoklch(0.950 0.103 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf19f on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#fdf19f on black: 18.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow37.2%
Key (black)0.8%

Color previews

#fdf19f text on a black background

contrast 18.26:1

Card sample

#fdf19f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 241, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 241, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf19f;
background: linear-gradient(135deg, #fdf19f, #CAFD9F);

Monochromatic scale

Palettes built from #fdf19f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf19f in the Color Lab