Skip to content

#eccd3a

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

RGB
236, 205, 58
HSL
50°, 82%, 58%
CMYK
0, 13, 75, 8
Luminance
0.6180

Every format

HEX#eccd3a
RGBrgb(236, 205, 58)
HSLhsl(50, 82%, 58%)
CMYKcmyk(0%, 13%, 75%, 8%)
LABlab(82.8 -3.8 72.1)
LCHlch(82.8 72.2 93.0)
OKLCHoklch(0.851 0.159 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.4%
Blue22.7%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow75.4%
Key (black)7.5%

Color previews

#eccd3a text on a black background

contrast 13.36:1

Card sample

#eccd3a text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccd3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccd3a in the Color Lab