Skip to content

#fdfc78

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

RGB
253, 252, 120
HSL
60°, 97%, 73%
CMYK
0, 0, 53, 1
Luminance
0.9186

Every format

HEX#fdfc78
RGBrgb(253, 252, 120)
HSLhsl(60, 97%, 73%)
CMYKcmyk(0%, 0%, 53%, 1%)
LABlab(96.8 -16.5 62.4)
LCHlch(96.8 64.5 104.8)
OKLCHoklch(0.966 0.154 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfc78 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfc78 on black: 19.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow52.6%
Key (black)0.8%

Color previews

#fdfc78 text on a black background

contrast 19.37:1

Card sample

#fdfc78 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc78 in the Color Lab