Skip to content

#af7b3c

a balanced, vivid orange · warm · closest name: Peru

RGB
175, 123, 60
HSL
33°, 49%, 46%
CMYK
0, 30, 66, 31
Luminance
0.2361

At a glance

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

Hex
#af7b3c
Hue
33°
orange
Saturation
49%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2361
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
5.72:1
Closest name
Peru
ΔE2000 6.9
Where it sits
Hue33° of 360°
Saturation49%
Lightness46%
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#af7b3c
RGBrgb(175, 123, 60)
HSLhsl(33, 49%, 46%)
CMYKcmyk(0%, 30%, 66%, 31%)
LABlab(55.7 13.8 41.7)
LCHlch(55.7 43.9 71.7)
OKLCHoklch(0.623 0.102 69.1)
Decimal11500348
Display P3color(display-p3 0.686 0.482 0.235)

Copy-ready code

/* CSS */
color: #af7b3c;
background-color: #af7b3c;
/* Tailwind (arbitrary) */
class="text-[#af7b3c] bg-[#af7b3c]"
/* SCSS */
$brand: #af7b3c;
/* SwiftUI */
Color(red: 0.686, green: 0.482, blue: 0.235)
/* Android */
Color.parseColor("#af7b3c")
/* Flutter */
Color(0xFFAF7B3C)
/* Python / OpenCV (BGR) */
(60, 123, 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 #af7b3c · 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: #af7b3c as text scores 3.67:1 on white and 5.72:1 on black.

Accessibility — WCAG contrast

Aa
#af7b3c on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#af7b3c on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D7E36
deuteranopia · #998A3D
tritanopia · #BE6E6D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af7b3c 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
#F6F0EA
#ECDFD0
#E2CAAB
#D4AF82
#C69458
#af7b3c
#986B34
#7A552A
#594022
#372815
Base = 600Lightest = 50 · #FAF8F4Darkest = 950 · #372815
:root {
  --brand-50: #FAF8F4;
  --brand-100: #F6F0EA;
  --brand-200: #ECDFD0;
  --brand-300: #E2CAAB;
  --brand-400: #D4AF82;
  --brand-500: #C69458;
  --brand-600: #af7b3c;
  --brand-700: #986B34;
  --brand-800: #7A552A;
  --brand-900: #594022;
  --brand-950: #372815;
  --brand: #af7b3c;
  --brand-ink: #000000;
}

Colors that work with #af7b3c

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#EAD8C2
Hairlines and dividers
Muted text#9B774B
Captions on the surface
Accent#378FB4
Second voice, not a rival
Dark variant#5F4321
Hover, pressed, headers
Light variant#F8F3EC
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 #af7b3c

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#3C70AF
Analogous left#AF423C
Analogous right#A9AF3C
Split-complement 1#3CA9AF
Split-complement 2#423CAF
Triadic 1#3CAF7B
Triadic 2#7B3CAF
Tetradic#3CAF42

RGB percentages

Red68.6%
Green48.2%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta29.7%
Yellow65.7%
Key (black)31.4%

Color previews

#af7b3c text on a black background

contrast 5.72:1

Card sample

#af7b3c text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7b3c

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.

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

#af7b3c, answered

What color is #af7b3c?

#af7b3c is a balanced vivid orange, closest to Peru (ΔE2000 6.9). It sits at 33° on the hue wheel with 49% saturation and 46% lightness, which reads as warm.

What is the RGB value of #af7b3c?

rgb(175, 123, 60) — 175 red, 123 green and 60 blue out of 255, or 68.6% / 48.2% / 23.5% by channel.

Is #af7b3c 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 #af7b3c?

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

What is the complementary color of #af7b3c?

#3C70AF sits directly opposite on the wheel. Softer options are the split-complements #3CA9AF and #423CAF, which give the same contrast with far less vibration.

What colors go well with #af7b3c?

For interface work: #FAF8F4 as the surface, #EAD8C2 for borders, #9B774B for secondary text, #378FB4 as an accent and #5F4321 for hover and pressed states. For a palette, the analogous pair #AF423C and #A9AF3C stays calm, while #3C70AF is the loudest partner.

What is #af7b3c in CMYK for printing?

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

Is #af7b3c 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 #BF7E45; nudged cooler, #B1A73A.

Work with #af7b3c in the Color Lab