Skip to content

#ffecae

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

RGB
255, 236, 174
HSL
46°, 100%, 84%
CMYK
0, 8, 32, 0
Luminance
0.8431

Every format

HEX#ffecae
RGBrgb(255, 236, 174)
HSLhsl(46, 100%, 84%)
CMYKcmyk(0%, 8%, 32%, 0%)
LABlab(93.6 -2.5 32.5)
LCHlch(93.6 32.5 94.4)
OKLCHoklch(0.944 0.081 93.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue68.2%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow31.8%
Key (black)0.0%

Color previews

#ffecae text on a black background

contrast 17.86:1

Card sample

#ffecae text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecae in the Color Lab