Skip to content

#af7c1c

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

RGB
175, 124, 28
HSL
39°, 72%, 40%
CMYK
0, 29, 84, 31
Luminance
0.2361

At a glance

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

Hex
#af7c1c
Hue
39°
orange
Saturation
72%
vivid
Lightness
40%
dark
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2361
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
5.72:1
Closest name
Dark Goldenrod
ΔE2000 4.3
Where it sits
Hue39° of 360°
Saturation72%
Lightness40%
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#af7c1c
RGBrgb(175, 124, 28)
HSLhsl(39, 72%, 40%)
CMYKcmyk(0%, 29%, 84%, 31%)
LABlab(55.7 11.7 55.3)
LCHlch(55.7 56.6 78.0)
OKLCHoklch(0.622 0.121 77.4)
Decimal11500572
Display P3color(display-p3 0.686 0.486 0.110)

Copy-ready code

/* CSS */
color: #af7c1c;
background-color: #af7c1c;
/* Tailwind (arbitrary) */
class="text-[#af7c1c] bg-[#af7c1c]"
/* SCSS */
$brand: #af7c1c;
/* SwiftUI */
Color(red: 0.686, green: 0.486, blue: 0.110)
/* Android */
Color.parseColor("#af7c1c")
/* Flutter */
Color(0xFFAF7C1C)
/* Python / OpenCV (BGR) */
(28, 124, 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 #af7c1c · 5.72:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.67:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.72:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #af7c1c as text scores 3.67:1 on white and 5.72:1 on black.

Accessibility — WCAG contrast

Aa
#af7c1c on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#af7c1c on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8F7E03
deuteranopia · #9B8B21
tritanopia · #BF6E6A

Color scale — 50 to 950

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

#FCF9F3
#F8F2E7
#F3E4C9
#F0D39E
#E8BE6E
#E0A83E
#D39622
#af7c1c
#8D6417
#664A14
#402E0D
Base = 700Lightest = 50 · #FCF9F3Darkest = 950 · #402E0D
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F8F2E7;
  --brand-200: #F3E4C9;
  --brand-300: #F0D39E;
  --brand-400: #E8BE6E;
  --brand-500: #E0A83E;
  --brand-600: #D39622;
  --brand-700: #af7c1c;
  --brand-800: #8D6417;
  --brand-900: #664A14;
  --brand-950: #402E0D;
  --brand: #af7c1c;
  --brand-ink: #000000;
}

Colors that work with #af7c1c

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#1874B3
Second voice, not a rival
Dark variant#6E4E12
Hover, pressed, headers
Light variant#FBF5E9
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 #af7c1c

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#1C4FAF
Analogous left#AF331C
Analogous right#98AF1C
Split-complement 1#1C98AF
Split-complement 2#331CAF
Triadic 1#1CAF7C
Triadic 2#7C1CAF
Tetradic#1CAF33

RGB percentages

Red68.6%
Green48.6%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta29.1%
Yellow84.0%
Key (black)31.4%

Color previews

#af7c1c text on a black background

contrast 5.72:1

Card sample

#af7c1c text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7c1c

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.

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

#af7c1c, answered

What color is #af7c1c?

#af7c1c is a dark vivid orange, closest to Dark Goldenrod (ΔE2000 4.3). It sits at 39° on the hue wheel with 72% saturation and 40% lightness, which reads as warm.

What is the RGB value of #af7c1c?

rgb(175, 124, 28) — 175 red, 124 green and 28 blue out of 255, or 68.6% / 48.6% / 11% by channel.

Is #af7c1c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2361 and perceived brightness is 53%, so black text on it reaches 5.72:1.

Should I use black or white text on #af7c1c?

Black. It scores 5.72:1 against #af7c1c, versus 3.67:1 for white — AA at any size.

What is the complementary color of #af7c1c?

#1C4FAF sits directly opposite on the wheel. Softer options are the split-complements #1C98AF and #331CAF, which give the same contrast with far less vibration.

What colors go well with #af7c1c?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #1874B3 as an accent and #6E4E12 for hover and pressed states. For a palette, the analogous pair #AF331C and #98AF1C stays calm, while #1C4FAF is the loudest partner.

What is #af7c1c in CMYK for printing?

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

Is #af7c1c 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 #AF671C; nudged cooler, #AEB11A.

Work with #af7c1c in the Color Lab