Skip to content

#ea9f21

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

RGB
234, 159, 33
HSL
38°, 83%, 52%
CMYK
0, 32, 86, 8
Luminance
0.4240

At a glance

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

Hex
#ea9f21
Hue
38°
orange
Saturation
83%
electric
Lightness
52%
balanced
Brightness
92%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4240
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
9.48:1
Closest name
Orange
ΔE2000 4
Where it sits
Hue38° of 360°
Saturation83%
Lightness52%
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#ea9f21
RGBrgb(234, 159, 33)
HSLhsl(38, 83%, 52%)
CMYKcmyk(0%, 32%, 86%, 8%)
LABlab(71.2 18.6 69.5)
LCHlch(71.2 72.0 75.0)
OKLCHoklch(0.758 0.153 73.4)
Decimal15376161
Display P3color(display-p3 0.918 0.624 0.129)

Copy-ready code

/* CSS */
color: #ea9f21;
background-color: #ea9f21;
/* Tailwind (arbitrary) */
class="text-[#ea9f21] bg-[#ea9f21]"
/* SCSS */
$brand: #ea9f21;
/* SwiftUI */
Color(red: 0.918, green: 0.624, blue: 0.129)
/* Android */
Color.parseColor("#ea9f21")
/* Flutter */
Color(0xFFEA9F21)
/* Python / OpenCV (BGR) */
(33, 159, 234)

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

Accessibility — WCAG contrast

Aa
#ea9f21 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#ea9f21 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9A300
deuteranopia · #CBB527
tritanopia · #FF8C89

Color scale — 50 to 950

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

#FCF9F2
#FAF2E6
#F6E4C6
#F5D399
#F0BC65
#ea9f21
#E09415
#BA7B12
#95630E
#6C490F
#432E09
Base = 500Lightest = 50 · #FCF9F2Darkest = 950 · #432E09
:root {
  --brand-50: #FCF9F2;
  --brand-100: #FAF2E6;
  --brand-200: #F6E4C6;
  --brand-300: #F5D399;
  --brand-400: #F0BC65;
  --brand-500: #ea9f21;
  --brand-600: #E09415;
  --brand-700: #BA7B12;
  --brand-800: #95630E;
  --brand-900: #6C490F;
  --brand-950: #432E09;
  --brand: #ea9f21;
  --brand-ink: #000000;
}

Colors that work with #ea9f21

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#EDDCC0
Hairlines and dividers
Muted text#9B7D4B
Captions on the surface
Accent#0D7CBF
Second voice, not a rival
Dark variant#744D0B
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 #ea9f21

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#216CEA
Analogous left#EA3B21
Analogous right#D1EA21
Split-complement 1#21D1EA
Split-complement 2#3B21EA
Triadic 1#21EA9F
Triadic 2#9F21EA
Tetradic#21EA3B

RGB percentages

Red91.8%
Green62.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta32.1%
Yellow85.9%
Key (black)8.2%

Color previews

#ea9f21 text on a black background

contrast 9.48:1

Card sample

#ea9f21 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ea9f21

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.

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

#ea9f21, answered

What color is #ea9f21?

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

What is the RGB value of #ea9f21?

rgb(234, 159, 33) — 234 red, 159 green and 33 blue out of 255, or 91.8% / 62.4% / 12.9% by channel.

Is #ea9f21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4240 and perceived brightness is 69%, so black text on it reaches 9.48:1.

Should I use black or white text on #ea9f21?

Black. It scores 9.48:1 against #ea9f21, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #ea9f21?

#216CEA sits directly opposite on the wheel. Softer options are the split-complements #21D1EA and #3B21EA, which give the same contrast with far less vibration.

What colors go well with #ea9f21?

For interface work: #FAF8F4 as the surface, #EDDCC0 for borders, #9B7D4B for secondary text, #0D7CBF as an accent and #744D0B for hover and pressed states. For a palette, the analogous pair #EA3B21 and #D1EA21 stays calm, while #216CEA is the loudest partner.

What is #ea9f21 in CMYK for printing?

cmyk(0%, 32%, 86%, 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 #ea9f21 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 #EA8921; nudged cooler, #ECEB1F.

Work with #ea9f21 in the Color Lab