Skip to content

#af6f07

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

RGB
175, 111, 7
HSL
37°, 92%, 36%
CMYK
0, 37, 96, 31
Luminance
0.2050

At a glance

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

Hex
#af6f07
Hue
37°
orange
Saturation
92%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2050
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.10:1
Closest name
Dark Goldenrod
ΔE2000 8.9
Where it sits
Hue37° of 360°
Saturation92%
Lightness36%
Temperature
Warm ← → Cool6% 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#af6f07
RGBrgb(175, 111, 7)
HSLhsl(37, 92%, 36%)
CMYKcmyk(0%, 37%, 96%, 31%)
LABlab(52.4 18.6 58.0)
LCHlch(52.4 60.9 72.3)
OKLCHoklch(0.596 0.128 69.6)
Decimal11497223
Display P3color(display-p3 0.686 0.435 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6f07 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#af6f07 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #847400
deuteranopia · #93830C
tritanopia · #C05F5E

Color scale — 50 to 950

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

#FDF9F2
#FBF2E4
#F9E4C3
#FBD393
#F9BD5D
#F6A727
#EB9509
#C47C08
#af6f07
#714909
#472E06
Base = 800Lightest = 50 · #FDF9F2Darkest = 950 · #472E06
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FBF2E4;
  --brand-200: #F9E4C3;
  --brand-300: #FBD393;
  --brand-400: #F9BD5D;
  --brand-500: #F6A727;
  --brand-600: #EB9509;
  --brand-700: #C47C08;
  --brand-800: #af6f07;
  --brand-900: #714909;
  --brand-950: #472E06;
  --brand: #af6f07;
  --brand-ink: #000000;
}

Colors that work with #af6f07

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#EDDCC0
Hairlines and dividers
Muted text#9B7C4B
Captions on the surface
Accent#0372B3
Second voice, not a rival
Dark variant#7B4E05
Hover, pressed, headers
Light variant#FEF5E6
Selected rows, tints
Dark surface#241E14
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 #af6f07

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#0747AF
Analogous left#AF1B07
Analogous right#9BAF07
Split-complement 1#079BAF
Split-complement 2#1B07AF
Triadic 1#07AF6F
Triadic 2#6F07AF
Tetradic#07AF1B

RGB percentages

Red68.6%
Green43.5%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta36.6%
Yellow96.0%
Key (black)31.4%

Color previews

#af6f07 text on a black background

contrast 5.10:1

Card sample

#af6f07 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6f07

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.

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

#af6f07, answered

What color is #af6f07?

#af6f07 is a dark electric orange, closest to Dark Goldenrod (ΔE2000 8.9). It sits at 37° on the hue wheel with 92% saturation and 36% lightness, which reads as warm.

What is the RGB value of #af6f07?

rgb(175, 111, 7) — 175 red, 111 green and 7 blue out of 255, or 68.6% / 43.5% / 2.7% by channel.

Is #af6f07 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2050 and perceived brightness is 50%, so black text on it reaches 5.10:1.

Should I use black or white text on #af6f07?

Black. It scores 5.10:1 against #af6f07, versus 4.12:1 for white — AA at any size.

What is the complementary color of #af6f07?

#0747AF sits directly opposite on the wheel. Softer options are the split-complements #079BAF and #1B07AF, which give the same contrast with far less vibration.

What colors go well with #af6f07?

For interface work: #FAF8F4 as the surface, #EDDCC0 for borders, #9B7C4B for secondary text, #0372B3 as an accent and #7B4E05 for hover and pressed states. For a palette, the analogous pair #AF1B07 and #9BAF07 stays calm, while #0747AF is the loudest partner.

What is #af6f07 in CMYK for printing?

cmyk(0%, 37%, 96%, 31%). 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 #af6f07 warm or cool?

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

Work with #af6f07 in the Color Lab