Skip to content

#fdf7ba

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

RGB
253, 247, 186
HSL
55°, 94%, 86%
CMYK
0, 2, 27, 1
Luminance
0.9095

Every format

HEX#fdf7ba
RGBrgb(253, 247, 186)
HSLhsl(55, 94%, 86%)
CMYKcmyk(0%, 2%, 27%, 1%)
LABlab(96.4 -7.2 30.1)
LCHlch(96.4 31.0 103.5)
OKLCHoklch(0.966 0.078 103.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf7ba on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdf7ba on black: 19.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.9%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow26.5%
Key (black)0.8%

Color previews

#fdf7ba text on a black background

contrast 19.19:1

Card sample

#fdf7ba text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf7ba in the Color Lab