Skip to content

#ffecc4

a pale, electric yellow · warm · closest name: beige

RGB
255, 236, 196
HSL
41°, 100%, 88%
CMYK
0, 8, 23, 0
Luminance
0.8524

Every format

HEX#ffecc4
RGBrgb(255, 236, 196)
HSLhsl(41, 100%, 88%)
CMYKcmyk(0%, 8%, 23%, 0%)
LABlab(94.0 0.4 21.8)
LCHlch(94.0 21.8 89.1)
OKLCHoklch(0.948 0.056 85.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffecc4 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ffecc4 on black: 18.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow23.1%
Key (black)0.0%

Color previews

#ffecc4 text on a black background

contrast 18.05:1

Card sample

#ffecc4 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecc4 in the Color Lab