Skip to content

#fef2ec

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

RGB
254, 242, 236
HSL
20°, 90%, 96%
CMYK
0, 5, 7, 0
Luminance
0.9063

Every format

HEX#fef2ec
RGBrgb(254, 242, 236)
HSLhsl(20, 90%, 96%)
CMYKcmyk(0%, 5%, 7%, 0%)
LABlab(96.3 3.0 4.3)
LCHlch(96.3 5.3 55.1)
OKLCHoklch(0.969 0.015 48.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef2ec on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fef2ec on black: 19.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.9%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow7.1%
Key (black)0.4%

Color previews

#fef2ec text on a black background

contrast 19.13:1

Card sample

#fef2ec text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef2ec in the Color Lab