Skip to content

#fdf47d

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

RGB
253, 244, 125
HSL
56°, 97%, 74%
CMYK
0, 4, 51, 1
Luminance
0.8706

Every format

HEX#fdf47d
RGBrgb(253, 244, 125)
HSLhsl(56, 97%, 74%)
CMYKcmyk(0%, 4%, 51%, 1%)
LABlab(94.8 -12.2 57.8)
LCHlch(94.8 59.0 101.9)
OKLCHoklch(0.951 0.141 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow50.6%
Key (black)0.8%

Color previews

#fdf47d text on a black background

contrast 18.41:1

Card sample

#fdf47d text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf47d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf47d in the Color Lab