Skip to content

#ecba5b

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

RGB
236, 186, 91
HSL
39°, 79%, 64%
CMYK
0, 21, 61, 8
Luminance
0.5371

At a glance

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

Hex
#ecba5b
Hue
39°
orange
Saturation
79%
electric
Lightness
64%
balanced
Brightness
93%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5371
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
11.74:1
Closest name
Goldenrod
ΔE2000 6.8
Where it sits
Hue39° of 360°
Saturation79%
Lightness64%
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#ecba5b
RGBrgb(236, 186, 91)
HSLhsl(39, 79%, 64%)
CMYKcmyk(0%, 21%, 61%, 8%)
LABlab(78.3 7.8 54.0)
LCHlch(78.3 54.6 81.8)
OKLCHoklch(0.816 0.126 81.4)
Decimal15514203
Display P3color(display-p3 0.925 0.729 0.357)

Copy-ready code

/* CSS */
color: #ecba5b;
background-color: #ecba5b;
/* Tailwind (arbitrary) */
class="text-[#ecba5b] bg-[#ecba5b]"
/* SCSS */
$brand: #ecba5b;
/* SwiftUI */
Color(red: 0.925, green: 0.729, blue: 0.357)
/* Android */
Color.parseColor("#ecba5b")
/* Flutter */
Color(0xFFECBA5B)
/* Python / OpenCV (BGR) */
(91, 186, 236)

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

Accessibility — WCAG contrast

Aa
#ecba5b on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ecba5b on black: 11.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFBA51
deuteranopia · #DBC75E
tritanopia · #FFABA5

Color scale — 50 to 950

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

#FCF9F3
#F9F3E6
#F5E5C7
#F3D59A
#ecba5b
#E8AA36
#DB9819
#B77F15
#926611
#6A4B11
#422F0A
Base = 400Lightest = 50 · #FCF9F3Darkest = 950 · #422F0A
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E6;
  --brand-200: #F5E5C7;
  --brand-300: #F3D59A;
  --brand-400: #ecba5b;
  --brand-500: #E8AA36;
  --brand-600: #DB9819;
  --brand-700: #B77F15;
  --brand-800: #926611;
  --brand-900: #6A4B11;
  --brand-950: #422F0A;
  --brand: #ecba5b;
  --brand-ink: #000000;
}

Colors that work with #ecba5b

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#9B7F4B
Captions on the surface
Accent#1176BB
Second voice, not a rival
Dark variant#724F0D
Hover, pressed, headers
Light variant#FCF5E8
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 #ecba5b

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#5B8DEC
Analogous left#EC715B
Analogous right#D5EC5B
Split-complement 1#5BD5EC
Split-complement 2#715BEC
Triadic 1#5BECBA
Triadic 2#BA5BEC
Tetradic#5BEC71

RGB percentages

Red92.5%
Green72.9%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow61.4%
Key (black)7.5%

Color previews

#ecba5b text on a black background

contrast 11.74:1

Card sample

#ecba5b text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 186, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 186, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecba5b;
background: linear-gradient(135deg, #ecba5b, #BDEC5B);

Monochromatic scale

Palettes built from #ecba5b

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.

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

#ecba5b, answered

What color is #ecba5b?

#ecba5b is a balanced electric orange, closest to Goldenrod (ΔE2000 6.8). It sits at 39° on the hue wheel with 79% saturation and 64% lightness, which reads as warm.

What is the RGB value of #ecba5b?

rgb(236, 186, 91) — 236 red, 186 green and 91 blue out of 255, or 92.5% / 72.9% / 35.7% by channel.

Is #ecba5b a light or a dark color?

It is a light color. Relative luminance is 0.5371 and perceived brightness is 76%, so black text on it reaches 11.74:1.

Should I use black or white text on #ecba5b?

Black. It scores 11.74:1 against #ecba5b, versus 1.79:1 for white — AAA at any size.

What is the complementary color of #ecba5b?

#5B8DEC sits directly opposite on the wheel. Softer options are the split-complements #5BD5EC and #715BEC, which give the same contrast with far less vibration.

What colors go well with #ecba5b?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #1176BB as an accent and #724F0D for hover and pressed states. For a palette, the analogous pair #EC715B and #D5EC5B stays calm, while #5B8DEC is the loudest partner.

What is #ecba5b in CMYK for printing?

cmyk(0%, 21%, 61%, 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 #ecba5b 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 #ECA55B; nudged cooler, #EBEE59.

Work with #ecba5b in the Color Lab