Skip to content

#f1dfba

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

RGB
241, 223, 186
HSL
40°, 66%, 84%
CMYK
0, 8, 23, 6
Luminance
0.7502

Every format

HEX#f1dfba
RGBrgb(241, 223, 186)
HSLhsl(40, 66%, 84%)
CMYKcmyk(0%, 8%, 23%, 6%)
LABlab(89.4 0.5 20.4)
LCHlch(89.4 20.4 88.7)
OKLCHoklch(0.909 0.052 85.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.5%
Green87.5%
Blue72.9%

CMYK percentages

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

Color previews

#f1dfba text on a black background

contrast 16.00:1

Card sample

#f1dfba text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1dfba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1dfba in the Color Lab