Skip to content

#f1ecdf

a pale, soft yellow · warm · closest name: ivory

RGB
241, 236, 223
HSL
43°, 39%, 91%
CMYK
0, 2, 8, 6
Luminance
0.8402

Every format

HEX#f1ecdf
RGBrgb(241, 236, 223)
HSLhsl(43, 39%, 91%)
CMYKcmyk(0%, 2%, 8%, 6%)
LABlab(93.5 -0.5 6.9)
LCHlch(93.5 6.9 94.4)
OKLCHoklch(0.943 0.018 89.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1ecdf on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#f1ecdf on black: 17.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green92.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow7.5%
Key (black)5.5%

Color previews

#f1ecdf text on a black background

contrast 17.80:1

Card sample

#f1ecdf text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1ecdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1ecdf in the Color Lab