Skip to content

#ef9a21

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

RGB
239, 154, 33
HSL
35°, 87%, 53%
CMYK
0, 36, 86, 6
Luminance
0.4157

Every format

HEX#ef9a21
RGBrgb(239, 154, 33)
HSLhsl(35, 87%, 53%)
CMYKcmyk(0%, 36%, 86%, 6%)
LABlab(70.6 23.4 69.3)
LCHlch(70.6 73.1 71.3)
OKLCHoklch(0.755 0.157 68.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef9a21 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#ef9a21 on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta35.6%
Yellow86.2%
Key (black)6.3%

Color previews

#ef9a21 text on a black background

contrast 9.31:1

Card sample

#ef9a21 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ef9a21;
background: linear-gradient(135deg, #ef9a21, #BBEF21);

Monochromatic scale

Palettes built from #ef9a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef9a21 in the Color Lab