Skip to content

#e2df3d

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

RGB
226, 223, 61
HSL
59°, 74%, 56%
CMYK
0, 1, 73, 11
Luminance
0.6928

Every format

HEX#e2df3d
RGBrgb(226, 223, 61)
HSLhsl(59, 74%, 56%)
CMYKcmyk(0%, 1%, 73%, 11%)
LABlab(86.6 -16.9 74.4)
LCHlch(86.6 76.3 102.8)
OKLCHoklch(0.879 0.172 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2df3d on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#e2df3d on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow73.0%
Key (black)11.4%

Color previews

#e2df3d text on a black background

contrast 14.86:1

Card sample

#e2df3d text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df3d in the Color Lab