Skip to content

#ecb608

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

RGB
236, 182, 8
HSL
46°, 93%, 48%
CMYK
0, 23, 97, 8
Luminance
0.5131

Every format

HEX#ecb608
RGBrgb(236, 182, 8)
HSLhsl(46, 93%, 48%)
CMYKcmyk(0%, 23%, 97%, 8%)
LABlab(76.9 7.0 78.4)
LCHlch(76.9 78.7 84.9)
OKLCHoklch(0.803 0.163 86.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecb608 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ecb608 on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green71.4%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta22.9%
Yellow96.6%
Key (black)7.5%

Color previews

#ecb608 text on a black background

contrast 11.26:1

Card sample

#ecb608 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecb608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecb608 in the Color Lab