Skip to content

#fdf48b

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

RGB
253, 244, 139
HSL
55°, 97%, 77%
CMYK
0, 4, 45, 1
Luminance
0.8745

Every format

HEX#fdf48b
RGBrgb(253, 244, 139)
HSLhsl(55, 97%, 77%)
CMYKcmyk(0%, 4%, 45%, 1%)
LABlab(94.9 -11.0 51.4)
LCHlch(94.9 52.6 102.1)
OKLCHoklch(0.953 0.127 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf48b on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf48b on black: 18.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow45.1%
Key (black)0.8%

Color previews

#fdf48b text on a black background

contrast 18.49:1

Card sample

#fdf48b text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf48b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf48b in the Color Lab