Skip to content

#e4d430

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

RGB
228, 212, 48
HSL
55°, 77%, 54%
CMYK
0, 7, 79, 11
Luminance
0.6379

Every format

HEX#e4d430
RGBrgb(228, 212, 48)
HSLhsl(55, 77%, 54%)
CMYKcmyk(0%, 7%, 79%, 11%)
LABlab(83.9 -11.1 75.9)
LCHlch(83.9 76.7 98.3)
OKLCHoklch(0.857 0.169 103.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4d430 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#e4d430 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green83.1%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta7.0%
Yellow78.9%
Key (black)10.6%

Color previews

#e4d430 text on a black background

contrast 13.76:1

Card sample

#e4d430 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 212, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 212, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4d430;
background: linear-gradient(135deg, #e4d430, #7CE430);

Monochromatic scale

Palettes built from #e4d430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4d430 in the Color Lab