Skip to content

#e3a310

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

RGB
227, 163, 16
HSL
42°, 87%, 48%
CMYK
0, 28, 93, 11
Luminance
0.4256

At a glance

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

Hex
#e3a310
Hue
42°
yellow
Saturation
87%
electric
Lightness
48%
balanced
Brightness
89%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4256
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
9.51:1
Closest name
Goldenrod
ΔE2000 2.7
Where it sits
Hue42° of 360°
Saturation87%
Lightness48%
Temperature
Warm ← → Cool10% 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#e3a310
RGBrgb(227, 163, 16)
HSLhsl(42, 87%, 48%)
CMYKcmyk(0%, 28%, 93%, 11%)
LABlab(71.3 13.2 72.9)
LCHlch(71.3 74.1 79.7)
OKLCHoklch(0.757 0.154 79.8)
Decimal14918416
Display P3color(display-p3 0.890 0.639 0.063)

Copy-ready code

/* CSS */
color: #e3a310;
background-color: #e3a310;
/* Tailwind (arbitrary) */
class="text-[#e3a310] bg-[#e3a310]"
/* SCSS */
$brand: #e3a310;
/* SwiftUI */
Color(red: 0.890, green: 0.639, blue: 0.063)
/* Android */
Color.parseColor("#e3a310")
/* Flutter */
Color(0xFFE3A310)
/* Python / OpenCV (BGR) */
(16, 163, 227)

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

Accessibility — WCAG contrast

Aa
#e3a310 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#e3a310 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCA500
deuteranopia · #CBB51C
tritanopia · #F8918B

Color scale — 50 to 950

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

#FDF9F2
#FAF4E5
#F7E8C4
#F8DA96
#F4C862
#F0B52D
#e3a310
#BF890D
#986D0B
#6E500C
#453208
Base = 600Lightest = 50 · #FDF9F2Darkest = 950 · #453208
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FAF4E5;
  --brand-200: #F7E8C4;
  --brand-300: #F8DA96;
  --brand-400: #F4C862;
  --brand-500: #F0B52D;
  --brand-600: #e3a310;
  --brand-700: #BF890D;
  --brand-800: #986D0B;
  --brand-900: #6E500C;
  --brand-950: #453208;
  --brand: #e3a310;
  --brand-ink: #000000;
}

Colors that work with #e3a310

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#FAF9F4
Tinted page background
Border#EDDFC0
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#0B85E8
Second voice, not a rival
Dark variant#775608
Hover, pressed, headers
Light variant#FDF7E7
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 #e3a310

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#1050E3
Analogous left#E33910
Analogous right#B9E310
Split-complement 1#10B9E3
Split-complement 2#3910E3
Triadic 1#10E3A3
Triadic 2#A310E3
Tetradic#10E339

RGB percentages

Red89.0%
Green63.9%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta28.2%
Yellow93.0%
Key (black)11.0%

Color previews

#e3a310 text on a black background

contrast 9.51:1

Card sample

#e3a310 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(227, 163, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(227, 163, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e3a310;
background: linear-gradient(135deg, #e3a310, #96E310);

Monochromatic scale

Palettes built from #e3a310

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.

#e3a310 in the real world

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

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#e3a310, answered

What color is #e3a310?

#e3a310 is a balanced electric yellow, closest to Goldenrod (ΔE2000 2.7). It sits at 42° on the hue wheel with 87% saturation and 48% lightness, which reads as warm.

What is the RGB value of #e3a310?

rgb(227, 163, 16) — 227 red, 163 green and 16 blue out of 255, or 89% / 63.9% / 6.3% by channel.

Is #e3a310 a light or a dark color?

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

Should I use black or white text on #e3a310?

Black. It scores 9.51:1 against #e3a310, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #e3a310?

#1050E3 sits directly opposite on the wheel. Softer options are the split-complements #10B9E3 and #3910E3, which give the same contrast with far less vibration.

What colors go well with #e3a310?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B834B for secondary text, #0B85E8 as an accent and #775608 for hover and pressed states. For a palette, the analogous pair #E33910 and #B9E310 stays calm, while #1050E3 is the loudest partner.

What is #e3a310 in CMYK for printing?

cmyk(0%, 28%, 93%, 11%). 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 #e3a310 warm or cool?

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

Work with #e3a310 in the Color Lab