Skip to content

#feff2d

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

RGB
254, 255, 45
HSL
60°, 100%, 59%
CMYK
0, 0, 82, 0
Luminance
0.9278

Every format

HEX#feff2d
RGBrgb(254, 255, 45)
HSLhsl(60, 100%, 59%)
CMYKcmyk(0%, 0%, 82%, 0%)
LABlab(97.1 -21.3 88.8)
LCHlch(97.1 91.3 103.5)
OKLCHoklch(0.968 0.203 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feff2d on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#feff2d on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue17.6%

CMYK percentages

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

Color previews

#feff2d text on a black background

contrast 19.56:1

Card sample

#feff2d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feff2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feff2d in the Color Lab