Skip to content

#e7df49

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

RGB
231, 223, 73
HSL
57°, 77%, 60%
CMYK
0, 4, 68, 9
Luminance
0.7025

Every format

HEX#e7df49
RGBrgb(231, 223, 73)
HSLhsl(57, 77%, 60%)
CMYKcmyk(0%, 4%, 68%, 9%)
LABlab(87.1 -14.3 70.8)
LCHlch(87.1 72.2 101.4)
OKLCHoklch(0.884 0.165 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red90.6%
Green87.5%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow68.4%
Key (black)9.4%

Color previews

#e7df49 text on a black background

contrast 15.05:1

Card sample

#e7df49 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7df49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7df49 in the Color Lab