Skip to content

#ecc913

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

RGB
236, 201, 19
HSL
50°, 85%, 50%
CMYK
0, 15, 92, 8
Luminance
0.5965

Every format

HEX#ecc913
RGBrgb(236, 201, 19)
HSLhsl(50, 85%, 50%)
CMYKcmyk(0%, 15%, 92%, 8%)
LABlab(81.7 -2.8 80.6)
LCHlch(81.7 80.6 92.0)
OKLCHoklch(0.841 0.170 96.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc913 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ecc913 on black: 12.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow91.9%
Key (black)7.5%

Color previews

#ecc913 text on a black background

contrast 12.93:1

Card sample

#ecc913 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 201, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 201, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecc913;
background: linear-gradient(135deg, #ecc913, #7EEC13);

Monochromatic scale

Palettes built from #ecc913

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc913 in the Color Lab