Skip to content

#ffff88

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

RGB
255, 255, 136
HSL
60°, 100%, 77%
CMYK
0, 0, 47, 0
Luminance
0.9456

Every format

HEX#ffff88
RGBrgb(255, 255, 136)
HSLhsl(60, 100%, 77%)
CMYKcmyk(0%, 0%, 47%, 0%)
LABlab(97.9 -15.8 56.4)
LCHlch(97.9 58.6 105.7)
OKLCHoklch(0.976 0.142 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffff88 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#ffff88 on black: 19.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue53.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow46.7%
Key (black)0.0%

Color previews

#ffff88 text on a black background

contrast 19.91:1

Card sample

#ffff88 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffff88

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffff88 in the Color Lab