Skip to content

#eccb53

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

RGB
236, 203, 83
HSL
47°, 80%, 63%
CMYK
0, 14, 65, 8
Luminance
0.6117

Every format

HEX#eccb53
RGBrgb(236, 203, 83)
HSLhsl(47, 80%, 63%)
CMYKcmyk(0%, 14%, 65%, 8%)
LABlab(82.5 -1.5 62.2)
LCHlch(82.5 62.2 91.4)
OKLCHoklch(0.848 0.141 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccb53 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#eccb53 on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green79.6%
Blue32.5%

CMYK percentages

Cyan0.0%
Magenta14.0%
Yellow64.8%
Key (black)7.5%

Color previews

#eccb53 text on a black background

contrast 13.23:1

Card sample

#eccb53 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccb53

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccb53 in the Color Lab