Skip to content

#eccd46

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

RGB
236, 205, 70
HSL
49°, 81%, 60%
CMYK
0, 13, 70, 8
Luminance
0.6194

Every format

HEX#eccd46
RGBrgb(236, 205, 70)
HSLhsl(49, 81%, 60%)
CMYKcmyk(0%, 13%, 70%, 8%)
LABlab(82.9 -3.3 67.8)
LCHlch(82.9 67.9 92.8)
OKLCHoklch(0.851 0.152 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccd46 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#eccd46 on black: 13.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.4%
Blue27.5%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow70.3%
Key (black)7.5%

Color previews

#eccd46 text on a black background

contrast 13.39:1

Card sample

#eccd46 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccd46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccd46 in the Color Lab