Skip to content

#fffe2e

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

RGB
255, 254, 46
HSL
60°, 100%, 59%
CMYK
0, 0, 82, 0
Luminance
0.9234

Every format

HEX#fffe2e
RGBrgb(255, 254, 46)
HSLhsl(60, 100%, 59%)
CMYKcmyk(0%, 0%, 82%, 0%)
LABlab(97.0 -20.4 88.5)
LCHlch(97.0 90.8 103.0)
OKLCHoklch(0.967 0.201 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffe2e on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fffe2e on black: 19.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue18.0%

CMYK percentages

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

Color previews

#fffe2e text on a black background

contrast 19.47:1

Card sample

#fffe2e text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe2e in the Color Lab