Skip to content

#ffebad

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

RGB
255, 235, 173
HSL
45°, 100%, 84%
CMYK
0, 8, 32, 0
Luminance
0.8369

Every format

HEX#ffebad
RGBrgb(255, 235, 173)
HSLhsl(45, 100%, 84%)
CMYKcmyk(0%, 8%, 32%, 0%)
LABlab(93.3 -2.1 32.6)
LCHlch(93.3 32.7 93.7)
OKLCHoklch(0.942 0.082 92.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue67.8%

CMYK percentages

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

Color previews

#ffebad text on a black background

contrast 17.74:1

Card sample

#ffebad text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebad in the Color Lab