Skip to content

#fffd2a

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

RGB
255, 253, 42
HSL
59°, 100%, 58%
CMYK
0, 1, 84, 0
Luminance
0.9168

Every format

HEX#fffd2a
RGBrgb(255, 253, 42)
HSLhsl(59, 100%, 58%)
CMYKcmyk(0%, 1%, 84%, 0%)
LABlab(96.7 -20.1 89.1)
LCHlch(96.7 91.3 102.7)
OKLCHoklch(0.965 0.202 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow83.5%
Key (black)0.0%

Color previews

#fffd2a text on a black background

contrast 19.34:1

Card sample

#fffd2a text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd2a in the Color Lab