Skip to content

#af8b3c

a balanced, vivid yellow · warm · closest name: Dark Goldenrod

RGB
175, 139, 60
HSL
41°, 49%, 46%
CMYK
0, 21, 66, 31
Luminance
0.2791

At a glance

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

Hex
#af8b3c
Hue
41°
yellow
Saturation
49%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2791
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
6.58:1
Closest name
Dark Goldenrod
ΔE2000 5.3
Where it sits
Hue41° of 360°
Saturation49%
Lightness46%
Temperature
Warm ← → Cool9% 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#af8b3c
RGBrgb(175, 139, 60)
HSLhsl(41, 49%, 46%)
CMYKcmyk(0%, 21%, 66%, 31%)
LABlab(59.8 4.9 46.2)
LCHlch(59.8 46.5 84.0)
OKLCHoklch(0.655 0.106 84.4)
Decimal11504444
Display P3color(display-p3 0.686 0.545 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8b3c on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#af8b3c on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9B8B33
deuteranopia · #A4943F
tritanopia · #BD7F7A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af8b3c 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
#F6F2EA
#ECE3D0
#E2D1AB
#D4BA82
#C6A358
#af8b3c
#987934
#7A602A
#594722
#372D15
Base = 600Lightest = 50 · #FAF8F4Darkest = 950 · #372D15
:root {
  --brand-50: #FAF8F4;
  --brand-100: #F6F2EA;
  --brand-200: #ECE3D0;
  --brand-300: #E2D1AB;
  --brand-400: #D4BA82;
  --brand-500: #C6A358;
  --brand-600: #af8b3c;
  --brand-700: #987934;
  --brand-800: #7A602A;
  --brand-900: #594722;
  --brand-950: #372D15;
  --brand: #af8b3c;
  --brand-ink: #000000;
}

Colors that work with #af8b3c

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#EADEC2
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#377DB4
Second voice, not a rival
Dark variant#5F4B21
Hover, pressed, headers
Light variant#F8F5EC
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 #af8b3c

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#3C60AF
Analogous left#AF523C
Analogous right#9AAF3C
Split-complement 1#3C9AAF
Split-complement 2#523CAF
Triadic 1#3CAF8B
Triadic 2#8B3CAF
Tetradic#3CAF52

RGB percentages

Red68.6%
Green54.5%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow65.7%
Key (black)31.4%

Color previews

#af8b3c text on a black background

contrast 6.58:1

Card sample

#af8b3c text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8b3c

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.

#af8b3c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#af8b3c, answered

What color is #af8b3c?

#af8b3c is a balanced vivid yellow, closest to Dark Goldenrod (ΔE2000 5.3). It sits at 41° on the hue wheel with 49% saturation and 46% lightness, which reads as warm.

What is the RGB value of #af8b3c?

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

Is #af8b3c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2791 and perceived brightness is 57%, so black text on it reaches 6.58:1.

Should I use black or white text on #af8b3c?

Black. It scores 6.58:1 against #af8b3c, versus 3.19:1 for white — AA at any size.

What is the complementary color of #af8b3c?

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

What colors go well with #af8b3c?

For interface work: #FAF8F4 as the surface, #EADEC2 for borders, #9B824B for secondary text, #377DB4 as an accent and #5F4B21 for hover and pressed states. For a palette, the analogous pair #AF523C and #9AAF3C stays calm, while #3C60AF is the loudest partner.

What is #af8b3c in CMYK for printing?

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

Is #af8b3c warm or cool?

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

Work with #af8b3c in the Color Lab