Skip to content

#fdff8f

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

RGB
253, 255, 143
HSL
61°, 100%, 78%
CMYK
1, 0, 44, 0
Luminance
0.9439

Every format

HEX#fdff8f
RGBrgb(253, 255, 143)
HSLhsl(61, 100%, 78%)
CMYKcmyk(1%, 0%, 44%, 0%)
LABlab(97.8 -16.0 53.0)
LCHlch(97.8 55.4 106.8)
OKLCHoklch(0.975 0.135 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdff8f on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdff8f on black: 19.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue56.1%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow43.9%
Key (black)0.0%

Color previews

#fdff8f text on a black background

contrast 19.88:1

Card sample

#fdff8f text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdff8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdff8f in the Color Lab