Skip to content

#fdf514

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

RGB
253, 245, 20
HSL
58°, 98%, 54%
CMYK
0, 3, 92, 1
Luminance
0.8624

Every format

HEX#fdf514
RGBrgb(253, 245, 20)
HSLhsl(58, 98%, 54%)
CMYKcmyk(0%, 3%, 92%, 1%)
LABlab(94.4 -17.4 90.8)
LCHlch(94.4 92.4 100.9)
OKLCHoklch(0.946 0.201 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.1%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow92.1%
Key (black)0.8%

Color previews

#fdf514 text on a black background

contrast 18.25:1

Card sample

#fdf514 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf514

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf514 in the Color Lab