Skip to content

#fdf39b

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

RGB
253, 243, 155
HSL
54°, 96%, 80%
CMYK
0, 4, 39, 1
Luminance
0.8735

Every format

HEX#fdf39b
RGBrgb(253, 243, 155)
HSLhsl(54, 96%, 80%)
CMYKcmyk(0%, 4%, 39%, 1%)
LABlab(94.9 -8.9 43.6)
LCHlch(94.9 44.5 101.5)
OKLCHoklch(0.953 0.109 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.3%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow38.7%
Key (black)0.8%

Color previews

#fdf39b text on a black background

contrast 18.47:1

Card sample

#fdf39b text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf39b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf39b in the Color Lab