Skip to content

#fffd7d

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

RGB
255, 253, 125
HSL
59°, 100%, 75%
CMYK
0, 1, 51, 0
Luminance
0.9299

Every format

HEX#fffd7d
RGBrgb(255, 253, 125)
HSLhsl(59, 100%, 75%)
CMYKcmyk(0%, 1%, 51%, 0%)
LABlab(97.2 -15.8 60.7)
LCHlch(97.2 62.7 104.6)
OKLCHoklch(0.971 0.150 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow51.0%
Key (black)0.0%

Color previews

#fffd7d text on a black background

contrast 19.60:1

Card sample

#fffd7d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd7d in the Color Lab