Skip to content

#fdfb50

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

RGB
253, 251, 80
HSL
59°, 98%, 65%
CMYK
0, 1, 68, 1
Luminance
0.9046

Every format

HEX#fdfb50
RGBrgb(253, 251, 80)
HSLhsl(59, 98%, 65%)
CMYKcmyk(0%, 1%, 68%, 1%)
LABlab(96.2 -18.6 77.8)
LCHlch(96.2 80.0 103.4)
OKLCHoklch(0.961 0.183 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfb50 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdfb50 on black: 19.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.4%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow68.4%
Key (black)0.8%

Color previews

#fdfb50 text on a black background

contrast 19.09:1

Card sample

#fdfb50 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb50 in the Color Lab