Skip to content

#af8c6f

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

RGB
175, 140, 111
HSL
27°, 29%, 56%
CMYK
0, 20, 37, 31
Luminance
0.2902

At a glance

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

Hex
#af8c6f
Hue
27°
orange
Saturation
29%
soft
Lightness
56%
balanced
Brightness
69%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2902
WCAG relative
Temperature
Warm
10/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
6.80:1
Closest name
Peru
ΔE2000 11.2
Where it sits
Hue27° of 360°
Saturation29%
Lightness56%
Temperature
Warm ← → Cool10% 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#af8c6f
RGBrgb(175, 140, 111)
HSLhsl(27, 29%, 56%)
CMYKcmyk(0%, 20%, 37%, 31%)
LABlab(60.8 9.1 20.5)
LCHlch(60.8 22.5 66.0)
OKLCHoklch(0.665 0.059 61.2)
Decimal11504751
Display P3color(display-p3 0.686 0.549 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8c6f on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#af8c6f on black: 6.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #978E6D
deuteranopia · #9F966F
tritanopia · #BA8584

Color scale — 50 to 950

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

#F9F7F6
#F3EFEC
#E6DDD6
#D7C5B7
#C3A993
#af8c6f
#9D7757
#836349
#694F3A
#4D3C2D
#30251C
Base = 500Lightest = 50 · #F9F7F6Darkest = 950 · #30251C
:root {
  --brand-50: #F9F7F6;
  --brand-100: #F3EFEC;
  --brand-200: #E6DDD6;
  --brand-300: #D7C5B7;
  --brand-400: #C3A993;
  --brand-500: #af8c6f;
  --brand-600: #9D7757;
  --brand-700: #836349;
  --brand-800: #694F3A;
  --brand-900: #4D3C2D;
  --brand-950: #30251C;
  --brand: #af8c6f;
  --brand-ink: #000000;
}

Colors that work with #af8c6f

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#FAF7F5
Tinted page background
Border#E2D5CB
Hairlines and dividers
Muted text#947052
Captions on the surface
Accent#457A87
Second voice, not a rival
Dark variant#523E2E
Hover, pressed, headers
Light variant#F6F2EF
Selected rows, tints
Dark surface#241B14
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 #af8c6f

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#6F92AF
Analogous left#AF6F72
Analogous right#AFAC6F
Split-complement 1#6FAFAC
Split-complement 2#6F72AF
Triadic 1#6FAF8C
Triadic 2#8C6FAF
Tetradic#72AF6F

RGB percentages

Red68.6%
Green54.9%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow36.6%
Key (black)31.4%

Color previews

#af8c6f text on a black background

contrast 6.80:1

Card sample

#af8c6f text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8c6f

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.

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

#af8c6f, answered

What color is #af8c6f?

#af8c6f is a balanced soft orange, closest to Peru (ΔE2000 11.2). It sits at 27° on the hue wheel with 29% saturation and 56% lightness, which reads as warm.

What is the RGB value of #af8c6f?

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

Is #af8c6f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2902 and perceived brightness is 58%, so black text on it reaches 6.80:1.

Should I use black or white text on #af8c6f?

Black. It scores 6.80:1 against #af8c6f, versus 3.09:1 for white — AA at any size.

What is the complementary color of #af8c6f?

#6F92AF sits directly opposite on the wheel. Softer options are the split-complements #6FAFAC and #6F72AF, which give the same contrast with far less vibration.

What colors go well with #af8c6f?

For interface work: #FAF7F5 as the surface, #E2D5CB for borders, #947052 for secondary text, #457A87 as an accent and #523E2E for hover and pressed states. For a palette, the analogous pair #AF6F72 and #AFAC6F stays calm, while #6F92AF is the loudest partner.

What is #af8c6f in CMYK for printing?

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

Is #af8c6f warm or cool?

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

Work with #af8c6f in the Color Lab