Skip to content

#fdf260

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

RGB
253, 242, 96
HSL
56°, 98%, 68%
CMYK
0, 4, 62, 1
Luminance
0.8523

Every format

HEX#fdf260
RGBrgb(253, 242, 96)
HSLhsl(56, 98%, 68%)
CMYKcmyk(0%, 4%, 62%, 1%)
LABlab(94.0 -13.3 69.5)
LCHlch(94.0 70.8 100.9)
OKLCHoklch(0.944 0.164 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow62.1%
Key (black)0.8%

Color previews

#fdf260 text on a black background

contrast 18.05:1

Card sample

#fdf260 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 242, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 242, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf260;
background: linear-gradient(135deg, #fdf260, #9FFD60);

Monochromatic scale

Palettes built from #fdf260

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf260 in the Color Lab