Skip to content

#fdefac

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

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

Every format

HEX#fdefac
RGBrgb(253, 239, 172)
HSLhsl(50, 95%, 83%)
CMYKcmyk(0%, 6%, 32%, 1%)
LABlab(94.1 -5.0 34.2)
LCHlch(94.1 34.5 98.3)
OKLCHoklch(0.948 0.086 97.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue67.5%

CMYK percentages

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

Color previews

#fdefac text on a black background

contrast 18.12:1

Card sample

#fdefac text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdefac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdefac in the Color Lab