Skip to content

#fdef9f

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

RGB
253, 239, 159
HSL
51°, 96%, 81%
CMYK
0, 6, 37, 1
Luminance
0.8512

Every format

HEX#fdef9f
RGBrgb(253, 239, 159)
HSLhsl(51, 96%, 81%)
CMYKcmyk(0%, 6%, 37%, 1%)
LABlab(93.9 -6.5 40.4)
LCHlch(93.9 40.9 99.1)
OKLCHoklch(0.946 0.101 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdef9f on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdef9f on black: 18.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green93.7%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow37.2%
Key (black)0.8%

Color previews

#fdef9f text on a black background

contrast 18.02:1

Card sample

#fdef9f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdef9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef9f in the Color Lab