Skip to content

#ffecc7

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

RGB
255, 236, 199
HSL
40°, 100%, 89%
CMYK
0, 8, 22, 0
Luminance
0.8537

Every format

HEX#ffecc7
RGBrgb(255, 236, 199)
HSLhsl(40, 100%, 89%)
CMYKcmyk(0%, 8%, 22%, 0%)
LABlab(94.0 0.8 20.3)
LCHlch(94.0 20.3 87.8)
OKLCHoklch(0.949 0.052 84.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.5%
Blue78.0%

CMYK percentages

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

Color previews

#ffecc7 text on a black background

contrast 18.07:1

Card sample

#ffecc7 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecc7 in the Color Lab