Skip to content

#fdf25f

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

RGB
253, 242, 95
HSL
56°, 98%, 68%
CMYK
0, 4, 63, 1
Luminance
0.8521

Every format

HEX#fdf25f
RGBrgb(253, 242, 95)
HSLhsl(56, 98%, 68%)
CMYKcmyk(0%, 4%, 63%, 1%)
LABlab(94.0 -13.4 69.9)
LCHlch(94.0 71.2 100.8)
OKLCHoklch(0.944 0.164 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue37.3%

CMYK percentages

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

Color previews

#fdf25f text on a black background

contrast 18.04:1

Card sample

#fdf25f text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf25f in the Color Lab