Skip to content

#fdf47e

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

RGB
253, 244, 126
HSL
56°, 97%, 74%
CMYK
0, 4, 50, 1
Luminance
0.8709

Every format

HEX#fdf47e
RGBrgb(253, 244, 126)
HSLhsl(56, 97%, 74%)
CMYKcmyk(0%, 4%, 50%, 1%)
LABlab(94.8 -12.1 57.3)
LCHlch(94.8 58.6 102.0)
OKLCHoklch(0.951 0.140 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue49.4%

CMYK percentages

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

Color previews

#fdf47e text on a black background

contrast 18.42:1

Card sample

#fdf47e text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf47e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf47e in the Color Lab