Skip to content

#fffd2f

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

RGB
255, 253, 47
HSL
59°, 100%, 59%
CMYK
0, 1, 82, 0
Luminance
0.9172

Every format

HEX#fffd2f
RGBrgb(255, 253, 47)
HSLhsl(59, 100%, 59%)
CMYKcmyk(0%, 1%, 82%, 0%)
LABlab(96.7 -19.9 88.0)
LCHlch(96.7 90.3 102.8)
OKLCHoklch(0.965 0.200 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffd2f on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fffd2f on black: 19.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow81.6%
Key (black)0.0%

Color previews

#fffd2f text on a black background

contrast 19.34:1

Card sample

#fffd2f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd2f in the Color Lab