Skip to content

#fff2ec

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

RGB
255, 242, 236
HSL
19°, 100%, 96%
CMYK
0, 5, 8, 0
Luminance
0.9082

Every format

HEX#fff2ec
RGBrgb(255, 242, 236)
HSLhsl(19, 100%, 96%)
CMYKcmyk(0%, 5%, 8%, 0%)
LABlab(96.3 3.4 4.5)
LCHlch(96.3 5.6 52.9)
OKLCHoklch(0.970 0.016 46.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow7.5%
Key (black)0.0%

Color previews

#fff2ec text on a black background

contrast 19.16:1

Card sample

#fff2ec text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2ec in the Color Lab