Skip to content

#f1e3b1

a light, vivid yellow · cool · closest name: beige

RGB
241, 227, 177
HSL
47°, 70%, 82%
CMYK
0, 6, 27, 6
Luminance
0.7681

Every format

HEX#f1e3b1
RGBrgb(241, 227, 177)
HSLhsl(47, 70%, 82%)
CMYKcmyk(0%, 6%, 27%, 6%)
LABlab(90.2 -2.8 26.2)
LCHlch(90.2 26.4 96.1)
OKLCHoklch(0.915 0.067 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1e3b1 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#f1e3b1 on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green89.0%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow26.6%
Key (black)5.5%

Color previews

#f1e3b1 text on a black background

contrast 16.36:1

Card sample

#f1e3b1 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1e3b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1e3b1 in the Color Lab