Skip to content

#fdf29e

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

RGB
253, 242, 158
HSL
53°, 96%, 81%
CMYK
0, 4, 38, 1
Luminance
0.8686

Every format

HEX#fdf29e
RGBrgb(253, 242, 158)
HSLhsl(53, 96%, 81%)
CMYKcmyk(0%, 4%, 38%, 1%)
LABlab(94.7 -8.1 41.9)
LCHlch(94.7 42.6 100.9)
OKLCHoklch(0.951 0.105 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf29e on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf29e on black: 18.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue62.0%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow37.5%
Key (black)0.8%

Color previews

#fdf29e text on a black background

contrast 18.37:1

Card sample

#fdf29e text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf29e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf29e in the Color Lab