Skip to content

#eb8d1f

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

RGB
235, 141, 31
HSL
32°, 84%, 52%
CMYK
0, 40, 87, 8
Luminance
0.3681

Every format

HEX#eb8d1f
RGBrgb(235, 141, 31)
HSLhsl(32, 84%, 52%)
CMYKcmyk(0%, 40%, 87%, 8%)
LABlab(67.1 28.5 66.9)
LCHlch(67.1 72.7 66.9)
OKLCHoklch(0.727 0.158 62.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb8d1f on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#eb8d1f on black: 8.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green55.3%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow86.8%
Key (black)7.8%

Color previews

#eb8d1f text on a black background

contrast 8.36:1

Card sample

#eb8d1f text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb8d1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb8d1f in the Color Lab