Skip to content

#fdf0cb

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

RGB
253, 240, 203
HSL
44°, 93%, 89%
CMYK
0, 5, 20, 1
Luminance
0.8751

Every format

HEX#fdf0cb
RGBrgb(253, 240, 203)
HSLhsl(44, 93%, 89%)
CMYKcmyk(0%, 5%, 20%, 1%)
LABlab(95.0 -1.4 19.5)
LCHlch(95.0 19.5 94.1)
OKLCHoklch(0.956 0.050 91.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf0cb on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf0cb on black: 18.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow19.8%
Key (black)0.8%

Color previews

#fdf0cb text on a black background

contrast 18.50:1

Card sample

#fdf0cb text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0cb in the Color Lab