Skip to content

#a0af49

a balanced, soft yellow · warm · closest name: Dark Khaki

RGB
160, 175, 73
HSL
69°, 41%, 49%
CMYK
9, 0, 58, 31
Luminance
0.3861

At a glance

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

Hex
#a0af49
Hue
69°
yellow
Saturation
41%
soft
Lightness
49%
balanced
Brightness
69%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3861
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
8.72:1
Closest name
Dark Khaki
ΔE2000 7.3
Where it sits
Hue69° of 360°
Saturation41%
Lightness49%
Temperature
Warm ← → Cool32% 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#a0af49
RGBrgb(160, 175, 73)
HSLhsl(69, 41%, 49%)
CMYKcmyk(9%, 0%, 58%, 31%)
LABlab(68.5 -19.8 49.4)
LCHlch(68.5 53.3 111.8)
OKLCHoklch(0.721 0.128 116.7)
Decimal10530633
Display P3color(display-p3 0.627 0.686 0.286)

Copy-ready code

/* CSS */
color: #a0af49;
background-color: #a0af49;
/* Tailwind (arbitrary) */
class="text-[#a0af49] bg-[#a0af49]"
/* SCSS */
$brand: #a0af49;
/* SwiftUI */
Color(red: 0.627, green: 0.686, blue: 0.286)
/* Android */
Color.parseColor("#a0af49")
/* Flutter */
Color(0xFFA0AF49)
/* Python / OpenCV (BGR) */
(73, 175, 160)

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 #a0af49 · 8.72:1
Use #000000AAA at every size.
Aa
White text · 2.41:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.72:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a0af49 as text scores 2.41:1 on white and 8.72:1 on black.

Accessibility — WCAG contrast

Aa
#a0af49 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#a0af49 on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA73E
deuteranopia · #B9A84F
tritanopia · #A9A699

Color scale — 50 to 950

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

#F9FAF5
#F3F5EB
#E6EAD2
#D7DEB0
#C3CD88
#AFBD61
#a0af49
#84903C
#697330
#4E5426
#303518
Base = 600Lightest = 50 · #F9FAF5Darkest = 950 · #303518
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F5EB;
  --brand-200: #E6EAD2;
  --brand-300: #D7DEB0;
  --brand-400: #C3CD88;
  --brand-500: #AFBD61;
  --brand-600: #a0af49;
  --brand-700: #84903C;
  --brand-800: #697330;
  --brand-900: #4E5426;
  --brand-950: #303518;
  --brand: #a0af49;
  --brand-ink: #000000;
}

Colors that work with #a0af49

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#FAFAF4
Tinted page background
Border#E2E7C5
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#4450B4
Second voice, not a rival
Dark variant#525A26
Hover, pressed, headers
Light variant#F6F7ED
Selected rows, tints
Dark surface#222414
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 #a0af49

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#5849AF
Analogous left#AF8B49
Analogous right#6DAF49
Split-complement 1#496DAF
Split-complement 2#8B49AF
Triadic 1#49A0AF
Triadic 2#AF49A0
Tetradic#49AF8B

RGB percentages

Red62.7%
Green68.6%
Blue28.6%

CMYK percentages

Cyan8.6%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#a0af49 text on a black background

contrast 8.72:1

Card sample

#a0af49 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(160, 175, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 175, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0af49;
background: linear-gradient(135deg, #a0af49, #5CAF49);

Monochromatic scale

Palettes built from #a0af49

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.

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

#a0af49, answered

What color is #a0af49?

#a0af49 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 7.3). It sits at 69° on the hue wheel with 41% saturation and 49% lightness, which reads as warm.

What is the RGB value of #a0af49?

rgb(160, 175, 73) — 160 red, 175 green and 73 blue out of 255, or 62.7% / 68.6% / 28.6% by channel.

Is #a0af49 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3861 and perceived brightness is 64%, so black text on it reaches 8.72:1.

Should I use black or white text on #a0af49?

Black. It scores 8.72:1 against #a0af49, versus 2.41:1 for white — AAA at any size.

What is the complementary color of #a0af49?

#5849AF sits directly opposite on the wheel. Softer options are the split-complements #496DAF and #8B49AF, which give the same contrast with far less vibration.

What colors go well with #a0af49?

For interface work: #FAFAF4 as the surface, #E2E7C5 for borders, #8F9B4B for secondary text, #4450B4 as an accent and #525A26 for hover and pressed states. For a palette, the analogous pair #AF8B49 and #6DAF49 stays calm, while #5849AF is the loudest partner.

What is #a0af49 in CMYK for printing?

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

Is #a0af49 warm or cool?

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

Work with #a0af49 in the Color Lab