Skip to content

#af873d

a balanced, vivid orange · warm · closest name: Dark Goldenrod

RGB
175, 135, 61
HSL
39°, 48%, 46%
CMYK
0, 23, 65, 31
Luminance
0.2678

At a glance

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

Hex
#af873d
Hue
39°
orange
Saturation
48%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2678
WCAG relative
Temperature
Warm
7/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
6.36:1
Closest name
Dark Goldenrod
ΔE2000 5.3
Where it sits
Hue39° of 360°
Saturation48%
Lightness46%
Temperature
Warm ← → Cool7% 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#af873d
RGBrgb(175, 135, 61)
HSLhsl(39, 48%, 46%)
CMYKcmyk(0%, 23%, 65%, 31%)
LABlab(58.8 7.2 44.6)
LCHlch(58.8 45.2 80.9)
OKLCHoklch(0.647 0.104 80.5)
Decimal11503421
Display P3color(display-p3 0.686 0.529 0.239)

Copy-ready code

/* CSS */
color: #af873d;
background-color: #af873d;
/* Tailwind (arbitrary) */
class="text-[#af873d] bg-[#af873d]"
/* SCSS */
$brand: #af873d;
/* SwiftUI */
Color(red: 0.686, green: 0.529, blue: 0.239)
/* Android */
Color.parseColor("#af873d")
/* Flutter */
Color(0xFFAF873D)
/* Python / OpenCV (BGR) */
(61, 135, 175)

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

Accessibility — WCAG contrast

Aa
#af873d on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#af873d on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #978735
deuteranopia · #A19140
tritanopia · #BD7B77

Color scale — 50 to 950

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

#FAF8F4
#F5F1EA
#ECE2D0
#E2CFAC
#D3B782
#C59F59
#af873d
#977535
#795D2A
#584522
#372B15
Base = 600Lightest = 50 · #FAF8F4Darkest = 950 · #372B15
:root {
  --brand-50: #FAF8F4;
  --brand-100: #F5F1EA;
  --brand-200: #ECE2D0;
  --brand-300: #E2CFAC;
  --brand-400: #D3B782;
  --brand-500: #C59F59;
  --brand-600: #af873d;
  --brand-700: #977535;
  --brand-800: #795D2A;
  --brand-900: #584522;
  --brand-950: #372B15;
  --brand: #af873d;
  --brand-ink: #000000;
}

Colors that work with #af873d

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#EADCC2
Hairlines and dividers
Muted text#9B7F4B
Captions on the surface
Accent#3883B4
Second voice, not a rival
Dark variant#5F4921
Hover, pressed, headers
Light variant#F8F4EC
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 #af873d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#3D65AF
Analogous left#AF4E3D
Analogous right#9EAF3D
Split-complement 1#3D9EAF
Split-complement 2#4E3DAF
Triadic 1#3DAF87
Triadic 2#873DAF
Tetradic#3DAF4E

RGB percentages

Red68.6%
Green52.9%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta22.9%
Yellow65.1%
Key (black)31.4%

Color previews

#af873d text on a black background

contrast 6.36:1

Card sample

#af873d text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 135, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 135, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af873d;
background: linear-gradient(135deg, #af873d, #8BAF3D);

Monochromatic scale

Palettes built from #af873d

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.

#af873d 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

Converts to four-color process without much drama. Proof it anyway.

#af873d, answered

What color is #af873d?

#af873d is a balanced vivid orange, closest to Dark Goldenrod (ΔE2000 5.3). It sits at 39° on the hue wheel with 48% saturation and 46% lightness, which reads as warm.

What is the RGB value of #af873d?

rgb(175, 135, 61) — 175 red, 135 green and 61 blue out of 255, or 68.6% / 52.9% / 23.9% by channel.

Is #af873d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2678 and perceived brightness is 56%, so black text on it reaches 6.36:1.

Should I use black or white text on #af873d?

Black. It scores 6.36:1 against #af873d, versus 3.30:1 for white — AA at any size.

What is the complementary color of #af873d?

#3D65AF sits directly opposite on the wheel. Softer options are the split-complements #3D9EAF and #4E3DAF, which give the same contrast with far less vibration.

What colors go well with #af873d?

For interface work: #FAF8F4 as the surface, #EADCC2 for borders, #9B7F4B for secondary text, #3883B4 as an accent and #5F4921 for hover and pressed states. For a palette, the analogous pair #AF4E3D and #9EAF3D stays calm, while #3D65AF is the loudest partner.

What is #af873d in CMYK for printing?

cmyk(0%, 23%, 65%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #af873d warm or cool?

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

Work with #af873d in the Color Lab