Skip to content

#ad9b2c

a dark, vivid yellow · warm · closest name: Dark Khaki

RGB
173, 155, 44
HSL
52°, 59%, 43%
CMYK
0, 10, 75, 32
Luminance
0.3251

At a glance

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

Hex
#ad9b2c
Hue
52°
yellow
Saturation
59%
vivid
Lightness
43%
dark
Brightness
68%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3251
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
7.50:1
Closest name
Dark Khaki
ΔE2000 10
Where it sits
Hue52° of 360°
Saturation59%
Lightness43%
Temperature
Warm ← → Cool18% 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#ad9b2c
RGBrgb(173, 155, 44)
HSLhsl(52, 59%, 43%)
CMYKcmyk(0%, 10%, 75%, 32%)
LABlab(63.8 -5.6 57.0)
LCHlch(63.8 57.3 95.6)
OKLCHoklch(0.686 0.127 99.7)
Decimal11377452
Display P3color(display-p3 0.678 0.608 0.173)

Copy-ready code

/* CSS */
color: #ad9b2c;
background-color: #ad9b2c;
/* Tailwind (arbitrary) */
class="text-[#ad9b2c] bg-[#ad9b2c]"
/* SCSS */
$brand: #ad9b2c;
/* SwiftUI */
Color(red: 0.678, green: 0.608, blue: 0.173)
/* Android */
Color.parseColor("#ad9b2c")
/* Flutter */
Color(0xFFAD9B2C)
/* Python / OpenCV (BGR) */
(44, 155, 173)

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

Accessibility — WCAG contrast

Aa
#ad9b2c on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#ad9b2c on black: 7.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AA9718
deuteranopia · #AF9D33
tritanopia · #BB8F85

Color scale — 50 to 950

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

#FBFAF4
#F7F5E9
#EFEACD
#E8DFA6
#DDCF79
#D1BF4C
#C3AF32
#ad9b2c
#827421
#5F551C
#3B3511
Base = 700Lightest = 50 · #FBFAF4Darkest = 950 · #3B3511
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEACD;
  --brand-300: #E8DFA6;
  --brand-400: #DDCF79;
  --brand-500: #D1BF4C;
  --brand-600: #C3AF32;
  --brand-700: #ad9b2c;
  --brand-800: #827421;
  --brand-900: #5F551C;
  --brand-950: #3B3511;
  --brand: #ad9b2c;
  --brand-ink: #000000;
}

Colors that work with #ad9b2c

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#EDE6C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#285DB1
Second voice, not a rival
Dark variant#665B1A
Hover, pressed, headers
Light variant#FAF8EB
Selected rows, tints
Dark surface#242214
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 #ad9b2c

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

Works well for
  • Text and icons on dark surfaces
  • 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
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#2C3EAD
Analogous left#AD5A2C
Analogous right#7EAD2C
Split-complement 1#2C7EAD
Split-complement 2#5A2CAD
Triadic 1#2CAD9B
Triadic 2#9B2CAD
Tetradic#2CAD5A

RGB percentages

Red67.8%
Green60.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta10.4%
Yellow74.6%
Key (black)32.2%

Color previews

#ad9b2c text on a black background

contrast 7.50:1

Card sample

#ad9b2c text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 155, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 155, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad9b2c;
background: linear-gradient(135deg, #ad9b2c, #69AD2C);

Monochromatic scale

Palettes built from #ad9b2c

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.

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

#ad9b2c, answered

What color is #ad9b2c?

#ad9b2c is a dark vivid yellow, closest to Dark Khaki (ΔE2000 10). It sits at 52° on the hue wheel with 59% saturation and 43% lightness, which reads as warm.

What is the RGB value of #ad9b2c?

rgb(173, 155, 44) — 173 red, 155 green and 44 blue out of 255, or 67.8% / 60.8% / 17.3% by channel.

Is #ad9b2c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3251 and perceived brightness is 60%, so black text on it reaches 7.50:1.

Should I use black or white text on #ad9b2c?

Black. It scores 7.50:1 against #ad9b2c, versus 2.80:1 for white — AAA at any size.

What is the complementary color of #ad9b2c?

#2C3EAD sits directly opposite on the wheel. Softer options are the split-complements #2C7EAD and #5A2CAD, which give the same contrast with far less vibration.

What colors go well with #ad9b2c?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B904B for secondary text, #285DB1 as an accent and #665B1A for hover and pressed states. For a palette, the analogous pair #AD5A2C and #7EAD2C stays calm, while #2C3EAD is the loudest partner.

What is #ad9b2c in CMYK for printing?

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

Is #ad9b2c warm or cool?

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

Work with #ad9b2c in the Color Lab