Skip to content

#fdfe9f

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

RGB
253, 254, 159
HSL
61°, 98%, 81%
CMYK
0, 0, 37, 0
Luminance
0.9427

Every format

HEX#fdfe9f
RGBrgb(253, 254, 159)
HSLhsl(61, 98%, 81%)
CMYKcmyk(0%, 0%, 37%, 0%)
LABlab(97.7 -13.9 45.3)
LCHlch(97.7 47.4 107.0)
OKLCHoklch(0.976 0.117 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.6%
Blue62.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow37.4%
Key (black)0.4%

Color previews

#fdfe9f text on a black background

contrast 19.85:1

Card sample

#fdfe9f text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfe9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfe9f in the Color Lab