Skip to content

#ffe080

a light, electric yellow · cool · closest name: khaki

RGB
255, 224, 128
HSL
45°, 100%, 75%
CMYK
0, 12, 50, 0
Luminance
0.7613

Every format

HEX#ffe080
RGBrgb(255, 224, 128)
HSLhsl(45, 100%, 75%)
CMYKcmyk(0%, 12%, 50%, 0%)
LABlab(89.9 -1.2 50.6)
LCHlch(89.9 50.6 91.4)
OKLCHoklch(0.913 0.121 92.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe080 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ffe080 on black: 16.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.8%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta12.2%
Yellow49.8%
Key (black)0.0%

Color previews

#ffe080 text on a black background

contrast 16.23:1

Card sample

#ffe080 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 224, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 224, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffe080;
background: linear-gradient(135deg, #ffe080, #C9FF80);

Monochromatic scale

Palettes built from #ffe080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe080 in the Color Lab