Skip to content

#fdf2cb

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

RGB
253, 242, 203
HSL
47°, 93%, 89%
CMYK
0, 4, 20, 1
Luminance
0.8870

Every format

HEX#fdf2cb
RGBrgb(253, 242, 203)
HSLhsl(47, 93%, 89%)
CMYKcmyk(0%, 4%, 20%, 1%)
LABlab(95.5 -2.4 20.2)
LCHlch(95.5 20.3 96.8)
OKLCHoklch(0.960 0.052 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2cb on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2cb on black: 18.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow19.8%
Key (black)0.8%

Color previews

#fdf2cb text on a black background

contrast 18.74:1

Card sample

#fdf2cb text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2cb in the Color Lab