Skip to content

#fdf780

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

RGB
253, 247, 128
HSL
57°, 97%, 75%
CMYK
0, 2, 49, 1
Luminance
0.8896

Every format

HEX#fdf780
RGBrgb(253, 247, 128)
HSLhsl(57, 97%, 75%)
CMYKcmyk(0%, 2%, 49%, 1%)
LABlab(95.6 -13.4 57.3)
LCHlch(95.6 58.9 103.2)
OKLCHoklch(0.957 0.141 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf780 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf780 on black: 18.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.9%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow49.4%
Key (black)0.8%

Color previews

#fdf780 text on a black background

contrast 18.79:1

Card sample

#fdf780 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf780

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf780 in the Color Lab