Skip to content

#e9a521

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

RGB
233, 165, 33
HSL
40°, 82%, 52%
CMYK
0, 29, 86, 9
Luminance
0.4434

At a glance

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

Hex
#e9a521
Hue
40°
orange
Saturation
82%
electric
Lightness
52%
balanced
Brightness
91%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4434
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
9.87:1
Closest name
Goldenrod
ΔE2000 4.1
Where it sits
Hue40° of 360°
Saturation82%
Lightness52%
Temperature
Warm ← → Cool8% 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#e9a521
RGBrgb(233, 165, 33)
HSLhsl(40, 82%, 52%)
CMYKcmyk(0%, 29%, 86%, 9%)
LABlab(72.5 15.0 70.5)
LCHlch(72.5 72.1 78.0)
OKLCHoklch(0.768 0.153 77.4)
Decimal15312161
Display P3color(display-p3 0.914 0.647 0.129)

Copy-ready code

/* CSS */
color: #e9a521;
background-color: #e9a521;
/* Tailwind (arbitrary) */
class="text-[#e9a521] bg-[#e9a521]"
/* SCSS */
$brand: #e9a521;
/* SwiftUI */
Color(red: 0.914, green: 0.647, blue: 0.129)
/* Android */
Color.parseColor("#e9a521")
/* Flutter */
Color(0xFFE9A521)
/* Python / OpenCV (BGR) */
(33, 165, 233)

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

Accessibility — WCAG contrast

Aa
#e9a521 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#e9a521 on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEA800
deuteranopia · #CEB828
tritanopia · #FE928E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e9a521 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
#F9F3E6
#F6E6C6
#F5D699
#F0C166
#e9a521
#DF9B16
#BA8112
#95670F
#6B4C0F
#432F09
Base = 500Lightest = 50 · #FCF9F2Darkest = 950 · #432F09
:root {
  --brand-50: #FCF9F2;
  --brand-100: #F9F3E6;
  --brand-200: #F6E6C6;
  --brand-300: #F5D699;
  --brand-400: #F0C166;
  --brand-500: #e9a521;
  --brand-600: #DF9B16;
  --brand-700: #BA8112;
  --brand-800: #95670F;
  --brand-900: #6B4C0F;
  --brand-950: #432F09;
  --brand: #e9a521;
  --brand-ink: #000000;
}

Colors that work with #e9a521

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#EDDDC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#0E76BE
Second voice, not a rival
Dark variant#74500B
Hover, pressed, headers
Light variant#FDF6E8
Selected rows, tints
Dark surface#241F14
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 #e9a521

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#2165E9
Analogous left#E94121
Analogous right#C9E921
Split-complement 1#21C9E9
Split-complement 2#4121E9
Triadic 1#21E9A5
Triadic 2#A521E9
Tetradic#21E941

RGB percentages

Red91.4%
Green64.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta29.2%
Yellow85.8%
Key (black)8.6%

Color previews

#e9a521 text on a black background

contrast 9.87:1

Card sample

#e9a521 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e9a521

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.

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

#e9a521, answered

What color is #e9a521?

#e9a521 is a balanced electric orange, closest to Goldenrod (ΔE2000 4.1). It sits at 40° on the hue wheel with 82% saturation and 52% lightness, which reads as warm.

What is the RGB value of #e9a521?

rgb(233, 165, 33) — 233 red, 165 green and 33 blue out of 255, or 91.4% / 64.7% / 12.9% by channel.

Is #e9a521 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4434 and perceived brightness is 71%, so black text on it reaches 9.87:1.

Should I use black or white text on #e9a521?

Black. It scores 9.87:1 against #e9a521, versus 2.13:1 for white — AAA at any size.

What is the complementary color of #e9a521?

#2165E9 sits directly opposite on the wheel. Softer options are the split-complements #21C9E9 and #4121E9, which give the same contrast with far less vibration.

What colors go well with #e9a521?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B804B for secondary text, #0E76BE as an accent and #74500B for hover and pressed states. For a palette, the analogous pair #E94121 and #C9E921 stays calm, while #2165E9 is the loudest partner.

What is #e9a521 in CMYK for printing?

cmyk(0%, 29%, 86%, 9%). 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 #e9a521 warm or cool?

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

Work with #e9a521 in the Color Lab