Skip to content

#fdf261

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

RGB
253, 242, 97
HSL
56°, 98%, 69%
CMYK
0, 4, 62, 1
Luminance
0.8525

Every format

HEX#fdf261
RGBrgb(253, 242, 97)
HSLhsl(56, 98%, 69%)
CMYKcmyk(0%, 4%, 62%, 1%)
LABlab(94.0 -13.3 69.1)
LCHlch(94.0 70.3 100.9)
OKLCHoklch(0.944 0.163 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow61.7%
Key (black)0.8%

Color previews

#fdf261 text on a black background

contrast 18.05:1

Card sample

#fdf261 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf261 in the Color Lab