Skip to content

#eccc39

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

RGB
236, 204, 57
HSL
49°, 83%, 58%
CMYK
0, 14, 76, 8
Luminance
0.6131

Every format

HEX#eccc39
RGBrgb(236, 204, 57)
HSLhsl(49, 83%, 58%)
CMYKcmyk(0%, 14%, 76%, 8%)
LABlab(82.5 -3.3 72.2)
LCHlch(82.5 72.3 92.6)
OKLCHoklch(0.849 0.159 96.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccc39 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#eccc39 on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow75.8%
Key (black)7.5%

Color previews

#eccc39 text on a black background

contrast 13.26:1

Card sample

#eccc39 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccc39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccc39 in the Color Lab