Skip to content

#ecec39

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

RGB
236, 236, 57
HSL
60°, 83%, 58%
CMYK
0, 0, 76, 8
Luminance
0.7812

Every format

HEX#ecec39
RGBrgb(236, 236, 57)
HSLhsl(60, 83%, 58%)
CMYKcmyk(0%, 0%, 76%, 8%)
LABlab(90.8 -19.2 79.8)
LCHlch(90.8 82.0 103.6)
OKLCHoklch(0.914 0.185 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecec39 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ecec39 on black: 16.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow75.8%
Key (black)7.5%

Color previews

#ecec39 text on a black background

contrast 16.62:1

Card sample

#ecec39 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 236, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecec39;
background: linear-gradient(135deg, #ecec39, #75EC39);

Monochromatic scale

Palettes built from #ecec39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecec39 in the Color Lab