Skip to content

#ecac5f

a balanced, electric orange · warm · closest name: Sandy Brown

RGB
236, 172, 95
HSL
33°, 79%, 65%
CMYK
0, 27, 60, 8
Luminance
0.4816

At a glance

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

Hex
#ecac5f
Hue
33°
orange
Saturation
79%
electric
Lightness
65%
balanced
Brightness
93%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4816
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
10.63:1
Closest name
Sandy Brown
ΔE2000 5.3
Where it sits
Hue33° of 360°
Saturation79%
Lightness65%
Temperature
Warm ← → Cool2% 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#ecac5f
RGBrgb(236, 172, 95)
HSLhsl(33, 79%, 65%)
CMYKcmyk(0%, 27%, 60%, 8%)
LABlab(74.9 15.4 48.2)
LCHlch(74.9 50.6 72.2)
OKLCHoklch(0.790 0.120 69.6)
Decimal15510623
Display P3color(display-p3 0.925 0.675 0.373)

Copy-ready code

/* CSS */
color: #ecac5f;
background-color: #ecac5f;
/* Tailwind (arbitrary) */
class="text-[#ecac5f] bg-[#ecac5f]"
/* SCSS */
$brand: #ecac5f;
/* SwiftUI */
Color(red: 0.925, green: 0.675, blue: 0.373)
/* Android */
Color.parseColor("#ecac5f")
/* Flutter */
Color(0xFFECAC5F)
/* Python / OpenCV (BGR) */
(95, 172, 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 #ecac5f · 10.63:1
Use #000000AAA at every size.
Aa
White text · 1.98:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.63:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ecac5f as text scores 1.98:1 on white and 10.63:1 on black.

Accessibility — WCAG contrast

Aa
#ecac5f on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#ecac5f on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2B058
deuteranopia · #D1BE61
tritanopia · #FF9D9A

Color scale — 50 to 950

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

#FCF8F3
#F9F1E6
#F5E0C7
#F3CB9B
#ecac5f
#E79736
#DB831A
#B66E16
#925811
#6A4111
#42290B
Base = 400Lightest = 50 · #FCF8F3Darkest = 950 · #42290B
:root {
  --brand-50: #FCF8F3;
  --brand-100: #F9F1E6;
  --brand-200: #F5E0C7;
  --brand-300: #F3CB9B;
  --brand-400: #ecac5f;
  --brand-500: #E79736;
  --brand-600: #DB831A;
  --brand-700: #B66E16;
  --brand-800: #925811;
  --brand-900: #6A4111;
  --brand-950: #42290B;
  --brand: #ecac5f;
  --brand-ink: #000000;
}

Colors that work with #ecac5f

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#EDD8C0
Hairlines and dividers
Muted text#9B764B
Captions on the surface
Accent#1189BB
Second voice, not a rival
Dark variant#72440E
Hover, pressed, headers
Light variant#FCF3E8
Selected rows, tints
Dark surface#241D14
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 #ecac5f

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#5F9FEC
Analogous left#EC665F
Analogous right#E5EC5F
Split-complement 1#5FE5EC
Split-complement 2#665FEC
Triadic 1#5FECAC
Triadic 2#AC5FEC
Tetradic#5FEC66

RGB percentages

Red92.5%
Green67.5%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow59.7%
Key (black)7.5%

Color previews

#ecac5f text on a black background

contrast 10.63:1

Card sample

#ecac5f text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecac5f

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.

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

#ecac5f, answered

What color is #ecac5f?

#ecac5f is a balanced electric orange, closest to Sandy Brown (ΔE2000 5.3). It sits at 33° on the hue wheel with 79% saturation and 65% lightness, which reads as warm.

What is the RGB value of #ecac5f?

rgb(236, 172, 95) — 236 red, 172 green and 95 blue out of 255, or 92.5% / 67.5% / 37.3% by channel.

Is #ecac5f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4816 and perceived brightness is 73%, so black text on it reaches 10.63:1.

Should I use black or white text on #ecac5f?

Black. It scores 10.63:1 against #ecac5f, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #ecac5f?

#5F9FEC sits directly opposite on the wheel. Softer options are the split-complements #5FE5EC and #665FEC, which give the same contrast with far less vibration.

What colors go well with #ecac5f?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B764B for secondary text, #1189BB as an accent and #72440E for hover and pressed states. For a palette, the analogous pair #EC665F and #E5EC5F stays calm, while #5F9FEC is the loudest partner.

What is #ecac5f in CMYK for printing?

cmyk(0%, 27%, 60%, 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 #ecac5f warm or cool?

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

Work with #ecac5f in the Color Lab