Skip to content

#fdf4c7

a pale, electric yellow · cool · closest name: beige

RGB
253, 244, 199
HSL
50°, 93%, 89%
CMYK
0, 4, 21, 1
Luminance
0.8971

Every format

HEX#fdf4c7
RGBrgb(253, 244, 199)
HSLhsl(50, 93%, 89%)
CMYKcmyk(0%, 4%, 21%, 1%)
LABlab(95.9 -4.0 22.8)
LCHlch(95.9 23.2 99.9)
OKLCHoklch(0.963 0.059 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf4c7 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf4c7 on black: 18.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow21.3%
Key (black)0.8%

Color previews

#fdf4c7 text on a black background

contrast 18.94:1

Card sample

#fdf4c7 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4c7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4c7 in the Color Lab