Skip to content

#feff2c

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

RGB
254, 255, 44
HSL
60°, 100%, 59%
CMYK
0, 0, 83, 0
Luminance
0.9277

Every format

HEX#feff2c
RGBrgb(254, 255, 44)
HSLhsl(60, 100%, 59%)
CMYKcmyk(0%, 0%, 83%, 0%)
LABlab(97.1 -21.4 89.0)
LCHlch(97.1 91.5 103.5)
OKLCHoklch(0.968 0.203 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#feff2c text on a black background

contrast 19.55:1

Card sample

#feff2c text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feff2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feff2c in the Color Lab