Skip to content

#fdf019

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

RGB
253, 240, 25
HSL
57°, 98%, 55%
CMYK
0, 5, 90, 1
Luminance
0.8327

Every format

HEX#fdf019
RGBrgb(253, 240, 25)
HSLhsl(57, 98%, 55%)
CMYKcmyk(0%, 5%, 90%, 1%)
LABlab(93.1 -14.9 89.2)
LCHlch(93.1 90.4 99.5)
OKLCHoklch(0.936 0.196 105.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf019 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#fdf019 on black: 17.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue9.8%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow90.1%
Key (black)0.8%

Color previews

#fdf019 text on a black background

contrast 17.65:1

Card sample

#fdf019 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 240, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 240, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf019;
background: linear-gradient(135deg, #fdf019, #72FD19);

Monochromatic scale

Palettes built from #fdf019

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf019 in the Color Lab