Skip to content

#ffebab

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

RGB
255, 235, 171
HSL
46°, 100%, 84%
CMYK
0, 8, 33, 0
Luminance
0.8362

Every format

HEX#ffebab
RGBrgb(255, 235, 171)
HSLhsl(46, 100%, 84%)
CMYKcmyk(0%, 8%, 33%, 0%)
LABlab(93.3 -2.3 33.6)
LCHlch(93.3 33.6 94.0)
OKLCHoklch(0.941 0.084 92.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow32.9%
Key (black)0.0%

Color previews

#ffebab text on a black background

contrast 17.72:1

Card sample

#ffebab text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebab in the Color Lab