Skip to content

#fdfd80

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

RGB
253, 253, 128
HSL
60°, 97%, 75%
CMYK
0, 0, 49, 1
Luminance
0.9269

Every format

HEX#fdfd80
RGBrgb(253, 253, 128)
HSLhsl(60, 97%, 75%)
CMYKcmyk(0%, 0%, 49%, 1%)
LABlab(97.1 -16.4 59.2)
LCHlch(97.1 61.4 105.4)
OKLCHoklch(0.969 0.147 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfd80 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdfd80 on black: 19.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.2%
Blue50.2%

CMYK percentages

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

Color previews

#fdfd80 text on a black background

contrast 19.54:1

Card sample

#fdfd80 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd80 in the Color Lab