Skip to content

#fdf2b9

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

RGB
253, 242, 185
HSL
50°, 94%, 86%
CMYK
0, 4, 27, 1
Luminance
0.8789

Every format

HEX#fdf2b9
RGBrgb(253, 242, 185)
HSLhsl(50, 94%, 86%)
CMYKcmyk(0%, 4%, 27%, 1%)
LABlab(95.1 -4.9 28.9)
LCHlch(95.1 29.3 99.6)
OKLCHoklch(0.956 0.074 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue72.5%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow26.9%
Key (black)0.8%

Color previews

#fdf2b9 text on a black background

contrast 18.58:1

Card sample

#fdf2b9 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2b9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2b9 in the Color Lab