Skip to content

#fdfc8f

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

RGB
253, 252, 143
HSL
60°, 97%, 78%
CMYK
0, 0, 44, 1
Luminance
0.9249

Every format

HEX#fdfc8f
RGBrgb(253, 252, 143)
HSLhsl(60, 97%, 78%)
CMYKcmyk(0%, 0%, 44%, 1%)
LABlab(97.0 -14.5 52.1)
LCHlch(97.0 54.1 105.6)
OKLCHoklch(0.969 0.132 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow43.5%
Key (black)0.8%

Color previews

#fdfc8f text on a black background

contrast 19.50:1

Card sample

#fdfc8f text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc8f in the Color Lab