Skip to content

#fffd9d

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

RGB
255, 253, 157
HSL
59°, 100%, 81%
CMYK
0, 1, 38, 0
Luminance
0.9394

Every format

HEX#fffd9d
RGBrgb(255, 253, 157)
HSLhsl(59, 100%, 81%)
CMYKcmyk(0%, 1%, 38%, 0%)
LABlab(97.6 -12.8 46.2)
LCHlch(97.6 47.9 105.5)
OKLCHoklch(0.975 0.118 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow38.4%
Key (black)0.0%

Color previews

#fffd9d text on a black background

contrast 19.79:1

Card sample

#fffd9d text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd9d in the Color Lab