Skip to content

#fdfb45

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

RGB
253, 251, 69
HSL
59°, 98%, 63%
CMYK
0, 1, 73, 1
Luminance
0.9031

Every format

HEX#fdfb45
RGBrgb(253, 251, 69)
HSLhsl(59, 98%, 63%)
CMYKcmyk(0%, 1%, 73%, 1%)
LABlab(96.1 -19.1 81.5)
LCHlch(96.1 83.7 103.2)
OKLCHoklch(0.960 0.189 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow72.7%
Key (black)0.8%

Color previews

#fdfb45 text on a black background

contrast 19.06:1

Card sample

#fdfb45 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb45 in the Color Lab