Skip to content

#eac430

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

RGB
234, 196, 48
HSL
48°, 82%, 55%
CMYK
0, 16, 80, 8
Luminance
0.5719

Every format

HEX#eac430
RGBrgb(234, 196, 48)
HSLhsl(48, 82%, 55%)
CMYKcmyk(0%, 16%, 80%, 8%)
LABlab(80.3 -0.4 72.9)
LCHlch(80.3 72.9 90.3)
OKLCHoklch(0.830 0.158 93.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eac430 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#eac430 on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green76.9%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta16.2%
Yellow79.5%
Key (black)8.2%

Color previews

#eac430 text on a black background

contrast 12.44:1

Card sample

#eac430 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 196, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 196, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eac430;
background: linear-gradient(135deg, #eac430, #94EA30);

Monochromatic scale

Palettes built from #eac430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eac430 in the Color Lab