Skip to content

#ffe4ad

a light, electric yellow · warm · closest name: tan

RGB
255, 228, 173
HSL
40°, 100%, 84%
CMYK
0, 11, 32, 0
Luminance
0.7976

Every format

HEX#ffe4ad
RGBrgb(255, 228, 173)
HSLhsl(40, 100%, 84%)
CMYKcmyk(0%, 11%, 32%, 0%)
LABlab(91.6 1.4 30.3)
LCHlch(91.6 30.3 87.3)
OKLCHoklch(0.928 0.076 84.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe4ad on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ffe4ad on black: 16.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green89.4%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta10.6%
Yellow32.2%
Key (black)0.0%

Color previews

#ffe4ad text on a black background

contrast 16.95:1

Card sample

#ffe4ad text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe4ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe4ad in the Color Lab