Skip to content

#fdf349

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

RGB
253, 243, 73
HSL
57°, 98%, 64%
CMYK
0, 4, 71, 1
Luminance
0.8546

Every format

HEX#fdf349
RGBrgb(253, 243, 73)
HSLhsl(57, 98%, 64%)
CMYKcmyk(0%, 4%, 71%, 1%)
LABlab(94.1 -15.0 78.2)
LCHlch(94.1 79.6 100.9)
OKLCHoklch(0.944 0.180 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf349 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf349 on black: 18.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow71.1%
Key (black)0.8%

Color previews

#fdf349 text on a black background

contrast 18.09:1

Card sample

#fdf349 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf349

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf349 in the Color Lab