Skip to content

#eccd59

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

RGB
236, 205, 89
HSL
47°, 80%, 64%
CMYK
0, 13, 62, 8
Luminance
0.6222

Every format

HEX#eccd59
RGBrgb(236, 205, 89)
HSLhsl(47, 80%, 64%)
CMYKcmyk(0%, 13%, 62%, 8%)
LABlab(83.0 -2.2 60.2)
LCHlch(83.0 60.2 92.1)
OKLCHoklch(0.853 0.138 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccd59 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#eccd59 on black: 13.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.4%
Blue34.9%

CMYK percentages

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

Color previews

#eccd59 text on a black background

contrast 13.44:1

Card sample

#eccd59 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccd59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccd59 in the Color Lab