Skip to content

#fdf945

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

RGB
253, 249, 69
HSL
59°, 98%, 63%
CMYK
0, 2, 73, 1
Luminance
0.8906

Every format

HEX#fdf945
RGBrgb(253, 249, 69)
HSLhsl(59, 98%, 63%)
CMYKcmyk(0%, 2%, 73%, 1%)
LABlab(95.6 -18.1 81.0)
LCHlch(95.6 83.0 102.6)
OKLCHoklch(0.956 0.187 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow72.7%
Key (black)0.8%

Color previews

#fdf945 text on a black background

contrast 18.81:1

Card sample

#fdf945 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf945

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf945 in the Color Lab