Skip to content

#ecce49

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

RGB
236, 206, 73
HSL
49°, 81%, 61%
CMYK
0, 13, 69, 8
Luminance
0.6246

Every format

HEX#ecce49
RGBrgb(236, 206, 73)
HSLhsl(49, 81%, 61%)
CMYKcmyk(0%, 13%, 69%, 8%)
LABlab(83.2 -3.6 67.0)
LCHlch(83.2 67.1 93.1)
OKLCHoklch(0.854 0.150 96.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecce49 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#ecce49 on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta12.7%
Yellow69.1%
Key (black)7.5%

Color previews

#ecce49 text on a black background

contrast 13.49:1

Card sample

#ecce49 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 206, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 206, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecce49;
background: linear-gradient(135deg, #ecce49, #9DEC49);

Monochromatic scale

Palettes built from #ecce49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecce49 in the Color Lab