Skip to content

#f6eccb

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

RGB
246, 236, 203
HSL
46°, 71%, 88%
CMYK
0, 4, 18, 4
Luminance
0.8390

Every format

HEX#f6eccb
RGBrgb(246, 236, 203)
HSLhsl(46, 71%, 88%)
CMYKcmyk(0%, 4%, 18%, 4%)
LABlab(93.4 -1.9 17.2)
LCHlch(93.4 17.3 96.3)
OKLCHoklch(0.943 0.044 93.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green92.5%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta4.1%
Yellow17.5%
Key (black)3.5%

Color previews

#f6eccb text on a black background

contrast 17.78:1

Card sample

#f6eccb text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6eccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6eccb in the Color Lab