Skip to content

#fdefab

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

RGB
253, 239, 171
HSL
50°, 95%, 83%
CMYK
0, 6, 32, 1
Luminance
0.8556

Every format

HEX#fdefab
RGBrgb(253, 239, 171)
HSLhsl(50, 95%, 83%)
CMYKcmyk(0%, 6%, 32%, 1%)
LABlab(94.1 -5.1 34.7)
LCHlch(94.1 35.0 98.4)
OKLCHoklch(0.948 0.087 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdefab on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdefab on black: 18.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green93.7%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow32.4%
Key (black)0.8%

Color previews

#fdefab text on a black background

contrast 18.11:1

Card sample

#fdefab text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdefab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdefab in the Color Lab