Skip to content

#eac600

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

RGB
234, 198, 0
HSL
51°, 100%, 46%
CMYK
0, 15, 100, 8
Luminance
0.5788

Every format

HEX#eac600
RGBrgb(234, 198, 0)
HSLhsl(51, 100%, 46%)
CMYKcmyk(0%, 15%, 100%, 8%)
LABlab(80.7 -2.3 81.8)
LCHlch(80.7 81.8 91.6)
OKLCHoklch(0.833 0.171 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eac600 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#eac600 on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green77.6%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta15.4%
Yellow100.0%
Key (black)8.2%

Color previews

#eac600 text on a black background

contrast 12.58:1

Card sample

#eac600 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 198, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 198, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eac600;
background: linear-gradient(135deg, #eac600, #72EA00);

Monochromatic scale

Palettes built from #eac600

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eac600 in the Color Lab