Skip to content

#ffecc3

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

RGB
255, 236, 195
HSL
41°, 100%, 88%
CMYK
0, 8, 24, 0
Luminance
0.8519

Every format

HEX#ffecc3
RGBrgb(255, 236, 195)
HSLhsl(41, 100%, 88%)
CMYKcmyk(0%, 8%, 24%, 0%)
LABlab(94.0 0.2 22.2)
LCHlch(94.0 22.2 89.4)
OKLCHoklch(0.948 0.057 86.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ffecc3 text on a black background

contrast 18.04:1

Card sample

#ffecc3 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecc3 in the Color Lab