Skip to content

#eb7c2f

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

RGB
235, 124, 47
HSL
25°, 83%, 55%
CMYK
0, 47, 80, 8
Luminance
0.3228

At a glance

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

Hex
#eb7c2f
Hue
25°
orange
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3228
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.46:1
Closest name
Chocolate
ΔE2000 6.7
Where it sits
Hue25° of 360°
Saturation83%
Lightness55%
Temperature
Warm ← → Cool3% 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#eb7c2f
RGBrgb(235, 124, 47)
HSLhsl(25, 83%, 55%)
CMYKcmyk(0%, 47%, 80%, 8%)
LABlab(63.6 37.8 58.2)
LCHlch(63.6 69.4 57.0)
OKLCHoklch(0.700 0.162 51.0)
Decimal15432751
Display P3color(display-p3 0.922 0.486 0.184)

Copy-ready code

/* CSS */
color: #eb7c2f;
background-color: #eb7c2f;
/* Tailwind (arbitrary) */
class="text-[#eb7c2f] bg-[#eb7c2f]"
/* SCSS */
$brand: #eb7c2f;
/* SwiftUI */
Color(red: 0.922, green: 0.486, blue: 0.184)
/* Android */
Color.parseColor("#eb7c2f")
/* Flutter */
Color(0xFFEB7C2F)
/* Python / OpenCV (BGR) */
(47, 124, 235)

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 #eb7c2f · 7.46:1
Use #000000AAA at every size.
Aa
White text · 2.82:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.46:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eb7c2f as text scores 2.82:1 on white and 7.46:1 on black.

Accessibility — WCAG contrast

Aa
#eb7c2f on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#eb7c2f on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9C8B23
deuteranopia · #B7A42D
tritanopia · #FF646D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb7c2f 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.

#FCF6F2
#FAEEE6
#F6DAC6
#F5BF99
#F09E65
#eb7c2f
#DF6815
#BA5712
#95450E
#6C350F
#432109
Base = 500Lightest = 50 · #FCF6F2Darkest = 950 · #432109
:root {
  --brand-50: #FCF6F2;
  --brand-100: #FAEEE6;
  --brand-200: #F6DAC6;
  --brand-300: #F5BF99;
  --brand-400: #F09E65;
  --brand-500: #eb7c2f;
  --brand-600: #DF6815;
  --brand-700: #BA5712;
  --brand-800: #95450E;
  --brand-900: #6C350F;
  --brand-950: #432109;
  --brand: #eb7c2f;
  --brand-ink: #000000;
}

Colors that work with #eb7c2f

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#EDD2C0
Hairlines and dividers
Muted text#9B6C4B
Captions on the surface
Accent#0DA2BF
Second voice, not a rival
Dark variant#74360B
Hover, pressed, headers
Light variant#FDF0E8
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 #eb7c2f

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#2F9EEB
Analogous left#EB2F40
Analogous right#EBDA2F
Split-complement 1#2FEBDA
Split-complement 2#2F40EB
Triadic 1#2FEB7C
Triadic 2#7C2FEB
Tetradic#40EB2F

RGB percentages

Red92.2%
Green48.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta47.2%
Yellow80.0%
Key (black)7.8%

Color previews

#eb7c2f text on a black background

contrast 7.46:1

Card sample

#eb7c2f text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb7c2f

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.

#eb7c2f 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.

#eb7c2f, answered

What color is #eb7c2f?

#eb7c2f is a balanced electric orange, closest to Chocolate (ΔE2000 6.7). It sits at 25° on the hue wheel with 83% saturation and 55% lightness, which reads as warm.

What is the RGB value of #eb7c2f?

rgb(235, 124, 47) — 235 red, 124 green and 47 blue out of 255, or 92.2% / 48.6% / 18.4% by channel.

Is #eb7c2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3228 and perceived brightness is 63%, so black text on it reaches 7.46:1.

Should I use black or white text on #eb7c2f?

Black. It scores 7.46:1 against #eb7c2f, versus 2.82:1 for white — AAA at any size.

What is the complementary color of #eb7c2f?

#2F9EEB sits directly opposite on the wheel. Softer options are the split-complements #2FEBDA and #2F40EB, which give the same contrast with far less vibration.

What colors go well with #eb7c2f?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6C4B for secondary text, #0DA2BF as an accent and #74360B for hover and pressed states. For a palette, the analogous pair #EB2F40 and #EBDA2F stays calm, while #2F9EEB is the loudest partner.

What is #eb7c2f in CMYK for printing?

cmyk(0%, 47%, 80%, 8%). 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 #eb7c2f warm or cool?

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

Work with #eb7c2f in the Color Lab