Skip to content

#ffffe2

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

RGB
255, 255, 226
HSL
60°, 100%, 94%
CMYK
0, 0, 11, 0
Luminance
0.9827

Every format

HEX#ffffe2
RGBrgb(255, 255, 226)
HSLhsl(60, 100%, 94%)
CMYKcmyk(0%, 0%, 11%, 0%)
LABlab(99.3 -4.8 13.9)
LCHlch(99.3 14.7 109.1)
OKLCHoklch(0.993 0.038 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffffe2 on white: 1.02:1
AA ✗ fail · AA-large · AAA
Aa
#ffffe2 on black: 20.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow11.4%
Key (black)0.0%

Color previews

#ffffe2 text on a black background

contrast 20.65:1

Card sample

#ffffe2 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffffe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffe2 in the Color Lab