Skip to content

#fdfd45

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

RGB
253, 253, 69
HSL
60°, 98%, 63%
CMYK
0, 0, 73, 1
Luminance
0.9156

Every format

HEX#fdfd45
RGBrgb(253, 253, 69)
HSLhsl(60, 98%, 63%)
CMYKcmyk(0%, 0%, 73%, 1%)
LABlab(96.6 -20.0 81.9)
LCHlch(96.6 84.3 103.7)
OKLCHoklch(0.964 0.191 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfd45 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdfd45 on black: 19.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.2%
Blue27.1%

CMYK percentages

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

Color previews

#fdfd45 text on a black background

contrast 19.31:1

Card sample

#fdfd45 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd45 in the Color Lab