Skip to content

#e4df2f

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

RGB
228, 223, 47
HSL
58°, 77%, 54%
CMYK
0, 2, 79, 11
Luminance
0.6947

Every format

HEX#e4df2f
RGBrgb(228, 223, 47)
HSLhsl(58, 77%, 54%)
CMYKcmyk(0%, 2%, 79%, 11%)
LABlab(86.7 -16.6 78.7)
LCHlch(86.7 80.4 101.9)
OKLCHoklch(0.880 0.179 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green87.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow79.4%
Key (black)10.6%

Color previews

#e4df2f text on a black background

contrast 14.89:1

Card sample

#e4df2f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 223, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 223, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4df2f;
background: linear-gradient(135deg, #e4df2f, #70E42F);

Monochromatic scale

Palettes built from #e4df2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4df2f in the Color Lab