Skip to content

#fdf492

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

RGB
253, 244, 146
HSL
55°, 96%, 78%
CMYK
0, 4, 42, 1
Luminance
0.8766

Every format

HEX#fdf492
RGBrgb(253, 244, 146)
HSLhsl(55, 96%, 78%)
CMYKcmyk(0%, 4%, 42%, 1%)
LABlab(95.0 -10.3 48.2)
LCHlch(95.0 49.3 102.1)
OKLCHoklch(0.954 0.120 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf492 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf492 on black: 18.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow42.3%
Key (black)0.8%

Color previews

#fdf492 text on a black background

contrast 18.53:1

Card sample

#fdf492 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf492

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf492 in the Color Lab