Skip to content

#e2e2ab

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

RGB
226, 226, 171
HSL
60°, 49%, 78%
CMYK
0, 0, 24, 11
Luminance
0.7350

Every format

HEX#e2e2ab
RGBrgb(226, 226, 171)
HSLhsl(60, 49%, 78%)
CMYKcmyk(0%, 0%, 24%, 11%)
LABlab(88.7 -8.7 27.0)
LCHlch(88.7 28.3 107.8)
OKLCHoklch(0.899 0.072 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2e2ab on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#e2e2ab on black: 15.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green88.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow24.3%
Key (black)11.4%

Color previews

#e2e2ab text on a black background

contrast 15.70:1

Card sample

#e2e2ab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2e2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2e2ab in the Color Lab