Skip to content

#fdf481

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

RGB
253, 244, 129
HSL
56°, 97%, 75%
CMYK
0, 4, 49, 1
Luminance
0.8717

Every format

HEX#fdf481
RGBrgb(253, 244, 129)
HSLhsl(56, 97%, 75%)
CMYKcmyk(0%, 4%, 49%, 1%)
LABlab(94.8 -11.9 56.0)
LCHlch(94.8 57.2 102.0)
OKLCHoklch(0.951 0.137 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue50.6%

CMYK percentages

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

Color previews

#fdf481 text on a black background

contrast 18.43:1

Card sample

#fdf481 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf481

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf481 in the Color Lab