Skip to content

#fff2e1

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

RGB
255, 242, 225
HSL
34°, 100%, 94%
CMYK
0, 5, 12, 0
Luminance
0.9020

Every format

HEX#fff2e1
RGBrgb(255, 242, 225)
HSLhsl(34, 100%, 94%)
CMYKcmyk(0%, 5%, 12%, 0%)
LABlab(96.1 1.6 9.8)
LCHlch(96.1 9.9 80.7)
OKLCHoklch(0.967 0.026 74.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue88.2%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow11.8%
Key (black)0.0%

Color previews

#fff2e1 text on a black background

contrast 19.04:1

Card sample

#fff2e1 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2e1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2e1 in the Color Lab