Skip to content

#ffee80

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

RGB
255, 238, 128
HSL
52°, 100%, 75%
CMYK
0, 7, 50, 0
Luminance
0.8397

Every format

HEX#ffee80
RGBrgb(255, 238, 128)
HSLhsl(52, 100%, 75%)
CMYKcmyk(0%, 7%, 50%, 0%)
LABlab(93.4 -8.2 54.8)
LCHlch(93.4 55.5 98.5)
OKLCHoklch(0.941 0.132 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffee80 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#ffee80 on black: 17.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow49.8%
Key (black)0.0%

Color previews

#ffee80 text on a black background

contrast 17.79:1

Card sample

#ffee80 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee80 in the Color Lab