Skip to content

#fdfc80

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

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

Every format

HEX#fdfc80
RGBrgb(253, 252, 128)
HSLhsl(60, 97%, 75%)
CMYKcmyk(0%, 0%, 49%, 1%)
LABlab(96.8 -15.9 58.9)
LCHlch(96.8 61.0 105.1)
OKLCHoklch(0.967 0.146 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue50.2%

CMYK percentages

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

Color previews

#fdfc80 text on a black background

contrast 19.41:1

Card sample

#fdfc80 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc80 in the Color Lab