Skip to content

#ecec32

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

RGB
236, 236, 50
HSL
60°, 83%, 56%
CMYK
0, 0, 79, 8
Luminance
0.7805

Every format

HEX#ecec32
RGBrgb(236, 236, 50)
HSLhsl(60, 83%, 56%)
CMYKcmyk(0%, 0%, 79%, 8%)
LABlab(90.8 -19.5 81.7)
LCHlch(90.8 84.0 103.4)
OKLCHoklch(0.914 0.188 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.5%
Blue19.6%

CMYK percentages

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

Color previews

#ecec32 text on a black background

contrast 16.61:1

Card sample

#ecec32 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecec32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecec32 in the Color Lab