Skip to content

#f1dfbb

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

RGB
241, 223, 187
HSL
40°, 66%, 84%
CMYK
0, 8, 22, 6
Luminance
0.7506

Every format

HEX#f1dfbb
RGBrgb(241, 223, 187)
HSLhsl(40, 66%, 84%)
CMYKcmyk(0%, 8%, 22%, 6%)
LABlab(89.4 0.6 19.9)
LCHlch(89.4 19.9 88.2)
OKLCHoklch(0.909 0.051 84.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1dfbb on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f1dfbb on black: 16.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green87.5%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow22.4%
Key (black)5.5%

Color previews

#f1dfbb text on a black background

contrast 16.01:1

Card sample

#f1dfbb text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1dfbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1dfbb in the Color Lab