Skip to content

#ecc419

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

RGB
236, 196, 25
HSL
49°, 85%, 51%
CMYK
0, 17, 89, 8
Luminance
0.5738

Every format

HEX#ecc419
RGBrgb(236, 196, 25)
HSLhsl(49, 85%, 51%)
CMYKcmyk(0%, 17%, 89%, 8%)
LABlab(80.4 -0.1 78.7)
LCHlch(80.4 78.7 90.1)
OKLCHoklch(0.831 0.166 93.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc419 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ecc419 on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.9%
Blue9.8%

CMYK percentages

Cyan0.0%
Magenta16.9%
Yellow89.4%
Key (black)7.5%

Color previews

#ecc419 text on a black background

contrast 12.48:1

Card sample

#ecc419 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 196, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 196, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecc419;
background: linear-gradient(135deg, #ecc419, #87EC19);

Monochromatic scale

Palettes built from #ecc419

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc419 in the Color Lab