Skip to content

#fdf537

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

RGB
253, 245, 55
HSL
58°, 98%, 60%
CMYK
0, 3, 78, 1
Luminance
0.8646

Every format

HEX#fdf537
RGBrgb(253, 245, 55)
HSLhsl(58, 98%, 60%)
CMYKcmyk(0%, 3%, 78%, 1%)
LABlab(94.5 -16.7 84.1)
LCHlch(94.5 85.7 101.2)
OKLCHoklch(0.947 0.191 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf537 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#fdf537 on black: 18.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue21.6%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow78.3%
Key (black)0.8%

Color previews

#fdf537 text on a black background

contrast 18.29:1

Card sample

#fdf537 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 245, 55, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 245, 55, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf537;
background: linear-gradient(135deg, #fdf537, #81FD37);

Monochromatic scale

Palettes built from #fdf537

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf537 in the Color Lab