Skip to content

#fffd2d

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

RGB
255, 253, 45
HSL
59°, 100%, 59%
CMYK
0, 1, 82, 0
Luminance
0.9170

Every format

HEX#fffd2d
RGBrgb(255, 253, 45)
HSLhsl(59, 100%, 59%)
CMYKcmyk(0%, 1%, 82%, 0%)
LABlab(96.7 -20.0 88.5)
LCHlch(96.7 90.7 102.7)
OKLCHoklch(0.965 0.201 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow82.4%
Key (black)0.0%

Color previews

#fffd2d text on a black background

contrast 19.34:1

Card sample

#fffd2d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd2d in the Color Lab