Skip to content

#e7df2d

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

RGB
231, 223, 45
HSL
57°, 80%, 54%
CMYK
0, 4, 81, 9
Luminance
0.6995

Every format

HEX#e7df2d
RGBrgb(231, 223, 45)
HSLhsl(57, 80%, 54%)
CMYKcmyk(0%, 4%, 81%, 9%)
LABlab(87.0 -15.4 79.5)
LCHlch(87.0 81.0 100.9)
OKLCHoklch(0.882 0.179 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7df2d on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#e7df2d on black: 14.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green87.5%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow80.5%
Key (black)9.4%

Color previews

#e7df2d text on a black background

contrast 14.99:1

Card sample

#e7df2d text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 223, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 223, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7df2d;
background: linear-gradient(135deg, #e7df2d, #73E72D);

Monochromatic scale

Palettes built from #e7df2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7df2d in the Color Lab