Skip to content

#af5c07

a dark, electric orange · warm · closest name: Chocolate

RGB
175, 92, 7
HSL
30°, 92%, 36%
CMYK
0, 47, 96, 31
Luminance
0.1678

At a glance

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

Hex
#af5c07
Hue
30°
orange
Saturation
92%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1678
WCAG relative
Temperature
Warm
0/100 cool
Color family
Orange
Tone
Electric
Best ink
White
4.82:1
Closest name
Chocolate
ΔE2000 8.9
Where it sits
Hue30° of 360°
Saturation92%
Lightness36%
Temperature
Warm ← → Cool0% 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#af5c07
RGBrgb(175, 92, 7)
HSLhsl(30, 92%, 36%)
CMYKcmyk(0%, 47%, 96%, 31%)
LABlab(48.0 29.1 55.0)
LCHlch(48.0 62.2 62.1)
OKLCHoklch(0.562 0.135 56.1)
Decimal11492359
Display P3color(display-p3 0.686 0.361 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5c07 on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#af5c07 on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #756600
deuteranopia · #897905
tritanopia · #C0494E

Color scale — 50 to 950

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

#FDF7F2
#FBF0E4
#F9DEC3
#FBC893
#F9AC5D
#F69027
#EB7C09
#C46708
#af5c07
#713E09
#472706
Base = 800Lightest = 50 · #FDF7F2Darkest = 950 · #472706
:root {
  --brand-50: #FDF7F2;
  --brand-100: #FBF0E4;
  --brand-200: #F9DEC3;
  --brand-300: #FBC893;
  --brand-400: #F9AC5D;
  --brand-500: #F69027;
  --brand-600: #EB7C09;
  --brand-700: #C46708;
  --brand-800: #af5c07;
  --brand-900: #713E09;
  --brand-950: #472706;
  --brand: #af5c07;
  --brand-ink: #ffffff;
}

Colors that work with #af5c07

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF7F4
Tinted page background
Border#EDD6C0
Hairlines and dividers
Muted text#9B734B
Captions on the surface
Accent#0386B3
Second voice, not a rival
Dark variant#7B4105
Hover, pressed, headers
Light variant#FEF2E6
Selected rows, tints
Dark surface#241C14
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 #af5c07

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

Works well for
  • Body text and links on white
  • 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
  • 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#075AAF
Analogous left#AF0807
Analogous right#AEAF07
Split-complement 1#07AEAF
Split-complement 2#0807AF
Triadic 1#07AF5C
Triadic 2#5C07AF
Tetradic#07AF08

RGB percentages

Red68.6%
Green36.1%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta47.4%
Yellow96.0%
Key (black)31.4%

Color previews

#af5c07 text on a black background

contrast 4.36:1

Card sample

#af5c07 text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5c07

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.

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

#af5c07, answered

What color is #af5c07?

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

What is the RGB value of #af5c07?

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

Is #af5c07 a light or a dark color?

It is a dark color. Relative luminance is 0.1678 and perceived brightness is 47%, so white text on it reaches 4.82:1.

Should I use black or white text on #af5c07?

White. It scores 4.82:1 against #af5c07, versus 4.36:1 for black — AA at any size.

What is the complementary color of #af5c07?

#075AAF sits directly opposite on the wheel. Softer options are the split-complements #07AEAF and #0807AF, which give the same contrast with far less vibration.

What colors go well with #af5c07?

For interface work: #FAF7F4 as the surface, #EDD6C0 for borders, #9B734B for secondary text, #0386B3 as an accent and #7B4105 for hover and pressed states. For a palette, the analogous pair #AF0807 and #AEAF07 stays calm, while #075AAF is the loudest partner.

What is #af5c07 in CMYK for printing?

cmyk(0%, 47%, 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 #af5c07 warm or cool?

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

Work with #af5c07 in the Color Lab