Skip to content

#fdfa0f

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

RGB
253, 250, 15
HSL
59°, 98%, 53%
CMYK
0, 1, 94, 1
Luminance
0.8929

Every format

HEX#fdfa0f
RGBrgb(253, 250, 15)
HSLhsl(59, 98%, 53%)
CMYKcmyk(0%, 1%, 94%, 1%)
LABlab(95.7 -19.9 92.3)
LCHlch(95.7 94.4 102.2)
OKLCHoklch(0.956 0.206 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfa0f on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdfa0f on black: 18.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.0%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow94.1%
Key (black)0.8%

Color previews

#fdfa0f text on a black background

contrast 18.86:1

Card sample

#fdfa0f text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfa0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfa0f in the Color Lab