Skip to content

#eba02a

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

RGB
235, 160, 42
HSL
37°, 83%, 54%
CMYK
0, 32, 82, 8
Luminance
0.4297

At a glance

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

Hex
#eba02a
Hue
37°
orange
Saturation
83%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4297
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
9.59:1
Closest name
Orange
ΔE2000 4
Where it sits
Hue37° of 360°
Saturation83%
Lightness54%
Temperature
Warm ← → Cool6% 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#eba02a
RGBrgb(235, 160, 42)
HSLhsl(37, 83%, 54%)
CMYKcmyk(0%, 32%, 82%, 8%)
LABlab(71.5 18.8 67.2)
LCHlch(71.5 69.8 74.4)
OKLCHoklch(0.761 0.151 72.6)
Decimal15441962
Display P3color(display-p3 0.922 0.627 0.165)

Copy-ready code

/* CSS */
color: #eba02a;
background-color: #eba02a;
/* Tailwind (arbitrary) */
class="text-[#eba02a] bg-[#eba02a]"
/* SCSS */
$brand: #eba02a;
/* SwiftUI */
Color(red: 0.922, green: 0.627, blue: 0.165)
/* Android */
Color.parseColor("#eba02a")
/* Flutter */
Color(0xFFEBA02A)
/* Python / OpenCV (BGR) */
(42, 160, 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 #eba02a · 9.59:1
Use #000000AAA at every size.
Aa
White text · 2.19:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.59:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eba02a as text scores 2.19:1 on white and 9.59:1 on black.

Accessibility — WCAG contrast

Aa
#eba02a on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#eba02a on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA50E
deuteranopia · #CCB62E
tritanopia · #FF8D8A

Color scale — 50 to 950

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

#FCF8F2
#FAF2E6
#F6E3C6
#F5D198
#F1BA65
#eba02a
#E09115
#BA7912
#95610E
#6C480F
#432D09
Base = 500Lightest = 50 · #FCF8F2Darkest = 950 · #432D09
:root {
  --brand-50: #FCF8F2;
  --brand-100: #FAF2E6;
  --brand-200: #F6E3C6;
  --brand-300: #F5D198;
  --brand-400: #F1BA65;
  --brand-500: #eba02a;
  --brand-600: #E09115;
  --brand-700: #BA7912;
  --brand-800: #95610E;
  --brand-900: #6C480F;
  --brand-950: #432D09;
  --brand: #eba02a;
  --brand-ink: #000000;
}

Colors that work with #eba02a

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#FAF8F4
Tinted page background
Border#EDDBC0
Hairlines and dividers
Muted text#9B7C4B
Captions on the surface
Accent#0D7EBF
Second voice, not a rival
Dark variant#754C0B
Hover, pressed, headers
Light variant#FDF5E8
Selected rows, tints
Dark surface#241E14
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 #eba02a

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#2A75EB
Analogous left#EB402A
Analogous right#D5EB2A
Split-complement 1#2AD5EB
Split-complement 2#402AEB
Triadic 1#2AEBA0
Triadic 2#A02AEB
Tetradic#2AEB40

RGB percentages

Red92.2%
Green62.7%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta31.9%
Yellow82.1%
Key (black)7.8%

Color previews

#eba02a text on a black background

contrast 9.59:1

Card sample

#eba02a text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eba02a

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.

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

#eba02a, answered

What color is #eba02a?

#eba02a is a balanced electric orange, closest to Orange (ΔE2000 4). It sits at 37° on the hue wheel with 83% saturation and 54% lightness, which reads as warm.

What is the RGB value of #eba02a?

rgb(235, 160, 42) — 235 red, 160 green and 42 blue out of 255, or 92.2% / 62.7% / 16.5% by channel.

Is #eba02a a light or a dark color?

It is a mid-tone. Relative luminance is 0.4297 and perceived brightness is 70%, so black text on it reaches 9.59:1.

Should I use black or white text on #eba02a?

Black. It scores 9.59:1 against #eba02a, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #eba02a?

#2A75EB sits directly opposite on the wheel. Softer options are the split-complements #2AD5EB and #402AEB, which give the same contrast with far less vibration.

What colors go well with #eba02a?

For interface work: #FAF8F4 as the surface, #EDDBC0 for borders, #9B7C4B for secondary text, #0D7EBF as an accent and #754C0B for hover and pressed states. For a palette, the analogous pair #EB402A and #D5EB2A stays calm, while #2A75EB is the loudest partner.

What is #eba02a in CMYK for printing?

cmyk(0%, 32%, 82%, 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 #eba02a warm or cool?

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

Work with #eba02a in the Color Lab