Skip to content

#fdf5b6

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

RGB
253, 245, 182
HSL
53°, 95%, 85%
CMYK
0, 3, 28, 1
Luminance
0.8956

Every format

HEX#fdf5b6
RGBrgb(253, 245, 182)
HSLhsl(53, 95%, 85%)
CMYKcmyk(0%, 3%, 28%, 1%)
LABlab(95.8 -6.8 31.4)
LCHlch(95.8 32.1 102.1)
OKLCHoklch(0.962 0.081 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5b6 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5b6 on black: 18.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue71.4%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow28.1%
Key (black)0.8%

Color previews

#fdf5b6 text on a black background

contrast 18.91:1

Card sample

#fdf5b6 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5b6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5b6 in the Color Lab