Skip to content

#fdf934

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

RGB
253, 249, 52
HSL
59°, 98%, 60%
CMYK
0, 2, 79, 1
Luminance
0.8888

Every format

HEX#fdf934
RGBrgb(253, 249, 52)
HSLhsl(59, 98%, 60%)
CMYKcmyk(0%, 2%, 79%, 1%)
LABlab(95.5 -18.7 85.8)
LCHlch(95.5 87.8 102.3)
OKLCHoklch(0.955 0.195 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf934 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf934 on black: 18.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow79.4%
Key (black)0.8%

Color previews

#fdf934 text on a black background

contrast 18.78:1

Card sample

#fdf934 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 249, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 249, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf934;
background: linear-gradient(135deg, #fdf934, #7BFD34);

Monochromatic scale

Palettes built from #fdf934

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf934 in the Color Lab