Skip to content

#fdf491

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

RGB
253, 244, 145
HSL
55°, 96%, 78%
CMYK
0, 4, 43, 1
Luminance
0.8763

Every format

HEX#fdf491
RGBrgb(253, 244, 145)
HSLhsl(55, 96%, 78%)
CMYKcmyk(0%, 4%, 43%, 1%)
LABlab(95.0 -10.4 48.6)
LCHlch(95.0 49.7 102.1)
OKLCHoklch(0.953 0.121 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue56.9%

CMYK percentages

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

Color previews

#fdf491 text on a black background

contrast 18.53:1

Card sample

#fdf491 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf491

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf491 in the Color Lab