Skip to content

#eac721

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

RGB
234, 199, 33
HSL
50°, 83%, 52%
CMYK
0, 15, 86, 8
Luminance
0.5845

Every format

HEX#eac721
RGBrgb(234, 199, 33)
HSLhsl(50, 83%, 52%)
CMYKcmyk(0%, 15%, 86%, 8%)
LABlab(81.0 -2.3 77.5)
LCHlch(81.0 77.5 91.7)
OKLCHoklch(0.835 0.166 95.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eac721 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#eac721 on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green78.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow85.9%
Key (black)8.2%

Color previews

#eac721 text on a black background

contrast 12.69:1

Card sample

#eac721 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 199, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 199, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eac721;
background: linear-gradient(135deg, #eac721, #87EA21);

Monochromatic scale

Palettes built from #eac721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eac721 in the Color Lab