Skip to content

#ffecb5

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

RGB
255, 236, 181
HSL
45°, 100%, 86%
CMYK
0, 8, 29, 0
Luminance
0.8459

Every format

HEX#ffecb5
RGBrgb(255, 236, 181)
HSLhsl(45, 100%, 86%)
CMYKcmyk(0%, 8%, 29%, 0%)
LABlab(93.7 -1.6 29.1)
LCHlch(93.7 29.1 93.2)
OKLCHoklch(0.945 0.073 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffecb5 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ffecb5 on black: 17.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow29.0%
Key (black)0.0%

Color previews

#ffecb5 text on a black background

contrast 17.92:1

Card sample

#ffecb5 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecb5 in the Color Lab