Skip to content

#ef7e21

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

RGB
239, 126, 33
HSL
27°, 87%, 53%
CMYK
0, 47, 86, 6
Luminance
0.3338

At a glance

Every number on this page in one read: what #ef7e21 is made of, how bright it looks, and which way it leans.

Hex
#ef7e21
Hue
27°
orange
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3338
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.68:1
Closest name
Dark Orange
ΔE2000 5.8
Where it sits
Hue27° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool2% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ef7e21
RGBrgb(239, 126, 33)
HSLhsl(27, 87%, 53%)
CMYKcmyk(0%, 47%, 86%, 6%)
LABlab(64.5 38.0 64.4)
LCHlch(64.5 74.7 59.5)
OKLCHoklch(0.708 0.168 53.3)
Decimal15695393
Display P3color(display-p3 0.937 0.494 0.129)

Copy-ready code

/* CSS */
color: #ef7e21;
background-color: #ef7e21;
/* Tailwind (arbitrary) */
class="text-[#ef7e21] bg-[#ef7e21]"
/* SCSS */
$brand: #ef7e21;
/* SwiftUI */
Color(red: 0.937, green: 0.494, blue: 0.129)
/* Android */
Color.parseColor("#ef7e21")
/* Flutter */
Color(0xFFEF7E21)
/* Python / OpenCV (BGR) */
(33, 126, 239)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ef7e21 · 7.68:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.68:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ef7e21 as text scores 2.74:1 on white and 7.68:1 on black.

Accessibility — WCAG contrast

Aa
#ef7e21 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#ef7e21 on black: 7.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9F8D09
deuteranopia · #BAA61F
tritanopia · #FF646D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ef7e21 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF7F2
#FAEFE5
#F7DBC4
#F7C296
#F4A462
#ef7e21
#E47010
#BE5D0E
#984B0B
#6E380C
#452308
Base = 500Lightest = 50 · #FDF7F2Darkest = 950 · #452308
:root {
  --brand-50: #FDF7F2;
  --brand-100: #FAEFE5;
  --brand-200: #F7DBC4;
  --brand-300: #F7C296;
  --brand-400: #F4A462;
  --brand-500: #ef7e21;
  --brand-600: #E47010;
  --brand-700: #BE5D0E;
  --brand-800: #984B0B;
  --brand-900: #6E380C;
  --brand-950: #452308;
  --brand: #ef7e21;
  --brand-ink: #000000;
}

Colors that work with #ef7e21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF7F4
Tinted page background
Border#EDD4C0
Hairlines and dividers
Muted text#9B6F4B
Captions on the surface
Accent#099DC3
Second voice, not a rival
Dark variant#773A09
Hover, pressed, headers
Light variant#FDF1E7
Selected rows, tints
Dark surface#241B14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ef7e21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#2192EF
Analogous left#EF212B
Analogous right#EFE521
Split-complement 1#21EFE5
Split-complement 2#212BEF
Triadic 1#21EF7E
Triadic 2#7E21EF
Tetradic#2BEF21

RGB percentages

Red93.7%
Green49.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta47.3%
Yellow86.2%
Key (black)6.3%

Color previews

#ef7e21 text on a black background

contrast 7.68:1

Card sample

#ef7e21 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef7e21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ef7e21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ef7e21, answered

What color is #ef7e21?

#ef7e21 is a balanced electric orange, closest to Dark Orange (ΔE2000 5.8). It sits at 27° on the hue wheel with 87% saturation and 53% lightness, which reads as warm.

What is the RGB value of #ef7e21?

rgb(239, 126, 33) — 239 red, 126 green and 33 blue out of 255, or 93.7% / 49.4% / 12.9% by channel.

Is #ef7e21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3338 and perceived brightness is 64%, so black text on it reaches 7.68:1.

Should I use black or white text on #ef7e21?

Black. It scores 7.68:1 against #ef7e21, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #ef7e21?

#2192EF sits directly opposite on the wheel. Softer options are the split-complements #21EFE5 and #212BEF, which give the same contrast with far less vibration.

What colors go well with #ef7e21?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B6F4B for secondary text, #099DC3 as an accent and #773A09 for hover and pressed states. For a palette, the analogous pair #EF212B and #EFE521 stays calm, while #2192EF is the loudest partner.

What is #ef7e21 in CMYK for printing?

cmyk(0%, 47%, 86%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ef7e21 warm or cool?

Warm — it scores 2 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F18939; nudged cooler, #F1301E.

Work with #ef7e21 in the Color Lab