Skip to content

#ffe9b6

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

RGB
255, 233, 182
HSL
42°, 100%, 86%
CMYK
0, 9, 29, 0
Luminance
0.8292

Every format

HEX#ffe9b6
RGBrgb(255, 233, 182)
HSLhsl(42, 100%, 86%)
CMYKcmyk(0%, 9%, 29%, 0%)
LABlab(93.0 0.0 27.6)
LCHlch(93.0 27.6 89.9)
OKLCHoklch(0.940 0.070 87.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe9b6 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ffe9b6 on black: 17.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green91.4%
Blue71.4%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow28.6%
Key (black)0.0%

Color previews

#ffe9b6 text on a black background

contrast 17.58:1

Card sample

#ffe9b6 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 233, 182, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 233, 182, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffe9b6;
background: linear-gradient(135deg, #ffe9b6, #E4FFB6);

Monochromatic scale

Palettes built from #ffe9b6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe9b6 in the Color Lab