Skip to content

#ecab2f

a balanced, electric orange · warm · closest name: orange

RGB
236, 171, 47
HSL
39°, 83%, 56%
CMYK
0, 28, 80, 8
Luminance
0.4716

Every format

HEX#ecab2f
RGBrgb(236, 171, 47)
HSLhsl(39, 83%, 56%)
CMYKcmyk(0%, 28%, 80%, 8%)
LABlab(74.3 13.5 68.0)
LCHlch(74.3 69.3 78.7)
OKLCHoklch(0.783 0.150 78.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecab2f on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#ecab2f on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green67.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta27.5%
Yellow80.1%
Key (black)7.5%

Color previews

#ecab2f text on a black background

contrast 10.43:1

Card sample

#ecab2f text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecab2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecab2f in the Color Lab