Skip to content

#efe2ac

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

RGB
239, 226, 172
HSL
48°, 68%, 81%
CMYK
0, 5, 28, 6
Luminance
0.7572

Every format

HEX#efe2ac
RGBrgb(239, 226, 172)
HSLhsl(48, 68%, 81%)
CMYKcmyk(0%, 5%, 28%, 6%)
LABlab(89.7 -3.7 28.1)
LCHlch(89.7 28.3 97.5)
OKLCHoklch(0.910 0.071 96.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efe2ac on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#efe2ac on black: 16.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green88.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow28.0%
Key (black)6.3%

Color previews

#efe2ac text on a black background

contrast 16.14:1

Card sample

#efe2ac text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efe2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efe2ac in the Color Lab