Skip to content

#ffeb80

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

RGB
255, 235, 128
HSL
51°, 100%, 75%
CMYK
0, 8, 50, 0
Luminance
0.8224

Every format

HEX#ffeb80
RGBrgb(255, 235, 128)
HSLhsl(51, 100%, 75%)
CMYKcmyk(0%, 8%, 50%, 0%)
LABlab(92.7 -6.7 53.9)
LCHlch(92.7 54.4 97.1)
OKLCHoklch(0.935 0.130 99.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeb80 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ffeb80 on black: 17.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow49.8%
Key (black)0.0%

Color previews

#ffeb80 text on a black background

contrast 17.45:1

Card sample

#ffeb80 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb80 in the Color Lab