Skip to content

#fdf60f

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

RGB
253, 246, 15
HSL
58°, 98%, 53%
CMYK
0, 3, 94, 1
Luminance
0.8683

Every format

HEX#fdf60f
RGBrgb(253, 246, 15)
HSLhsl(58, 98%, 53%)
CMYKcmyk(0%, 3%, 94%, 1%)
LABlab(94.7 -18.0 91.5)
LCHlch(94.7 93.2 101.1)
OKLCHoklch(0.948 0.202 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf60f on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf60f on black: 18.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow94.1%
Key (black)0.8%

Color previews

#fdf60f text on a black background

contrast 18.37:1

Card sample

#fdf60f text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 246, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 246, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf60f;
background: linear-gradient(135deg, #fdf60f, #65FD0F);

Monochromatic scale

Palettes built from #fdf60f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf60f in the Color Lab