Skip to content

#fdf2bb

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

RGB
253, 242, 187
HSL
50°, 94%, 86%
CMYK
0, 4, 26, 1
Luminance
0.8797

Every format

HEX#fdf2bb
RGBrgb(253, 242, 187)
HSLhsl(50, 94%, 86%)
CMYKcmyk(0%, 4%, 26%, 1%)
LABlab(95.2 -4.6 27.9)
LCHlch(95.2 28.3 99.4)
OKLCHoklch(0.957 0.071 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue73.3%

CMYK percentages

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

Color previews

#fdf2bb text on a black background

contrast 18.59:1

Card sample

#fdf2bb text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2bb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2bb in the Color Lab