Skip to content

#f6efdf

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

RGB
246, 239, 223
HSL
42°, 56%, 92%
CMYK
0, 3, 9, 4
Luminance
0.8665

Every format

HEX#f6efdf
RGBrgb(246, 239, 223)
HSLhsl(42, 56%, 92%)
CMYKcmyk(0%, 3%, 9%, 4%)
LABlab(94.6 -0.3 8.6)
LCHlch(94.6 8.6 92.2)
OKLCHoklch(0.953 0.022 87.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6efdf on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f6efdf on black: 18.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green93.7%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow9.3%
Key (black)3.5%

Color previews

#f6efdf text on a black background

contrast 18.33:1

Card sample

#f6efdf text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6efdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6efdf in the Color Lab