Skip to content

#e4df4f

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

RGB
228, 223, 79
HSL
58°, 73%, 60%
CMYK
0, 2, 65, 11
Luminance
0.6983

Every format

HEX#e4df4f
RGBrgb(228, 223, 79)
HSLhsl(58, 73%, 60%)
CMYKcmyk(0%, 2%, 65%, 11%)
LABlab(86.9 -15.2 68.2)
LCHlch(86.9 69.9 102.5)
OKLCHoklch(0.882 0.161 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green87.5%
Blue31.0%

CMYK percentages

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

Color previews

#e4df4f text on a black background

contrast 14.97:1

Card sample

#e4df4f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4df4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4df4f in the Color Lab