Skip to content

#fdf5cb

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

RGB
253, 245, 203
HSL
50°, 93%, 89%
CMYK
0, 3, 20, 1
Luminance
0.9050

Every format

HEX#fdf5cb
RGBrgb(253, 245, 203)
HSLhsl(50, 93%, 89%)
CMYKcmyk(0%, 3%, 20%, 1%)
LABlab(96.2 -3.9 21.2)
LCHlch(96.2 21.6 100.5)
OKLCHoklch(0.966 0.055 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5cb on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5cb on black: 19.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow19.8%
Key (black)0.8%

Color previews

#fdf5cb text on a black background

contrast 19.10:1

Card sample

#fdf5cb text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5cb in the Color Lab