Skip to content

#eccd56

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

RGB
236, 205, 86
HSL
48°, 80%, 63%
CMYK
0, 13, 64, 8
Luminance
0.6217

Every format

HEX#eccd56
RGBrgb(236, 205, 86)
HSLhsl(48, 80%, 63%)
CMYKcmyk(0%, 13%, 64%, 8%)
LABlab(83.0 -2.4 61.5)
LCHlch(83.0 61.5 92.2)
OKLCHoklch(0.853 0.141 94.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.4%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow63.6%
Key (black)7.5%

Color previews

#eccd56 text on a black background

contrast 13.43:1

Card sample

#eccd56 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccd56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccd56 in the Color Lab