Skip to content

#fdefad

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

RGB
253, 239, 173
HSL
50°, 95%, 84%
CMYK
0, 6, 32, 1
Luminance
0.8563

Every format

HEX#fdefad
RGBrgb(253, 239, 173)
HSLhsl(50, 95%, 84%)
CMYKcmyk(0%, 6%, 32%, 1%)
LABlab(94.2 -4.9 33.7)
LCHlch(94.2 34.0 98.2)
OKLCHoklch(0.948 0.085 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow31.6%
Key (black)0.8%

Color previews

#fdefad text on a black background

contrast 18.13:1

Card sample

#fdefad text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdefad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdefad in the Color Lab