Skip to content

#e2df27

a balanced, electric yellow · cool · closest name: gold

RGB
226, 223, 39
HSL
59°, 76%, 52%
CMYK
0, 1, 83, 11
Luminance
0.6909

Every format

HEX#e2df27
RGBrgb(226, 223, 39)
HSLhsl(59, 76%, 52%)
CMYKcmyk(0%, 1%, 83%, 11%)
LABlab(86.5 -17.6 80.4)
LCHlch(86.5 82.3 102.4)
OKLCHoklch(0.878 0.182 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2df27 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#e2df27 on black: 14.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow82.7%
Key (black)11.4%

Color previews

#e2df27 text on a black background

contrast 14.82:1

Card sample

#e2df27 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df27 in the Color Lab