Skip to content

#fdf16b

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

RGB
253, 241, 107
HSL
55°, 97%, 71%
CMYK
0, 5, 58, 1
Luminance
0.8485

Every format

HEX#fdf16b
RGBrgb(253, 241, 107)
HSLhsl(55, 97%, 71%)
CMYKcmyk(0%, 5%, 58%, 1%)
LABlab(93.8 -12.1 64.7)
LCHlch(93.8 65.8 100.6)
OKLCHoklch(0.943 0.154 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf16b on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdf16b on black: 17.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue42.0%

CMYK percentages

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

Color previews

#fdf16b text on a black background

contrast 17.97:1

Card sample

#fdf16b text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf16b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf16b in the Color Lab