Skip to content

#ecec64

a light, electric yellow · cool · closest name: khaki

RGB
236, 236, 100
HSL
60°, 78%, 66%
CMYK
0, 0, 58, 8
Luminance
0.7874

Every format

HEX#ecec64
RGBrgb(236, 236, 100)
HSLhsl(60, 78%, 66%)
CMYKcmyk(0%, 0%, 58%, 8%)
LABlab(91.1 -17.0 64.3)
LCHlch(91.1 66.5 104.8)
OKLCHoklch(0.918 0.157 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecec64 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ecec64 on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow57.6%
Key (black)7.5%

Color previews

#ecec64 text on a black background

contrast 16.75:1

Card sample

#ecec64 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecec64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecec64 in the Color Lab