Skip to content

#fdf4ba

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

RGB
253, 244, 186
HSL
52°, 94%, 86%
CMYK
0, 4, 27, 1
Luminance
0.8913

Every format

HEX#fdf4ba
RGBrgb(253, 244, 186)
HSLhsl(52, 94%, 86%)
CMYKcmyk(0%, 4%, 27%, 1%)
LABlab(95.6 -5.7 29.1)
LCHlch(95.6 29.7 101.2)
OKLCHoklch(0.960 0.075 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow26.5%
Key (black)0.8%

Color previews

#fdf4ba text on a black background

contrast 18.83:1

Card sample

#fdf4ba text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4ba in the Color Lab