Skip to content

#fffd4f

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

RGB
255, 253, 79
HSL
59°, 100%, 66%
CMYK
0, 1, 69, 0
Luminance
0.9208

Every format

HEX#fffd4f
RGBrgb(255, 253, 79)
HSLhsl(59, 100%, 66%)
CMYKcmyk(0%, 1%, 69%, 0%)
LABlab(96.8 -18.8 78.9)
LCHlch(96.8 81.1 103.4)
OKLCHoklch(0.966 0.185 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffd4f on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fffd4f on black: 19.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.2%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow69.0%
Key (black)0.0%

Color previews

#fffd4f text on a black background

contrast 19.42:1

Card sample

#fffd4f text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd4f in the Color Lab