Skip to content

#ebac51

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

RGB
235, 172, 81
HSL
36°, 79%, 62%
CMYK
0, 27, 66, 8
Luminance
0.4776

Every format

HEX#ebac51
RGBrgb(235, 172, 81)
HSLhsl(36, 79%, 62%)
CMYKcmyk(0%, 27%, 66%, 8%)
LABlab(74.7 14.1 54.6)
LCHlch(74.7 56.4 75.5)
OKLCHoklch(0.787 0.130 73.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebac51 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ebac51 on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green67.5%
Blue31.8%

CMYK percentages

Cyan0.0%
Magenta26.8%
Yellow65.5%
Key (black)7.8%

Color previews

#ebac51 text on a black background

contrast 10.55:1

Card sample

#ebac51 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 172, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 172, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebac51;
background: linear-gradient(135deg, #ebac51, #C3EB51);

Monochromatic scale

Palettes built from #ebac51

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebac51 in the Color Lab