Skip to content

#fdf3b8

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

RGB
253, 243, 184
HSL
51°, 95%, 86%
CMYK
0, 4, 27, 1
Luminance
0.8844

Every format

HEX#fdf3b8
RGBrgb(253, 243, 184)
HSLhsl(51, 95%, 86%)
CMYKcmyk(0%, 4%, 27%, 1%)
LABlab(95.3 -5.5 29.7)
LCHlch(95.3 30.2 100.5)
OKLCHoklch(0.958 0.076 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.3%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow27.3%
Key (black)0.8%

Color previews

#fdf3b8 text on a black background

contrast 18.69:1

Card sample

#fdf3b8 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf3b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf3b8 in the Color Lab