Skip to content

#baac6f

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

RGB
186, 172, 111
HSL
49°, 35%, 58%
CMYK
0, 8, 40, 27
Luminance
0.4109

At a glance

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

Hex
#baac6f
Hue
49°
yellow
Saturation
35%
soft
Lightness
58%
balanced
Brightness
73%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4109
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.22:1
Closest name
Dark Khaki
ΔE2000 4.5
Where it sits
Hue49° of 360°
Saturation35%
Lightness58%
Temperature
Warm ← → Cool16% 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#baac6f
RGBrgb(186, 172, 111)
HSLhsl(49, 35%, 58%)
CMYKcmyk(0%, 8%, 40%, 27%)
LABlab(70.2 -3.8 33.2)
LCHlch(70.2 33.4 96.5)
OKLCHoklch(0.742 0.082 96.8)
Decimal12233839
Display P3color(display-p3 0.729 0.675 0.435)

Copy-ready code

/* CSS */
color: #baac6f;
background-color: #baac6f;
/* Tailwind (arbitrary) */
class="text-[#baac6f] bg-[#baac6f]"
/* SCSS */
$brand: #baac6f;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.435)
/* Android */
Color.parseColor("#baac6f")
/* Flutter */
Color(0xFFBAAC6F)
/* Python / OpenCV (BGR) */
(111, 172, 186)

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

Accessibility — WCAG contrast

Aa
#baac6f on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#baac6f on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8A96A
deuteranopia · #BBAE71
tritanopia · #C5A49D

Color scale — 50 to 950

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

#F9F9F5
#F4F2EB
#E8E4D4
#DBD3B3
#C8BD8D
#baac6f
#A5954F
#8A7C42
#6E6435
#514A29
#332E1A
Base = 500Lightest = 50 · #F9F9F5Darkest = 950 · #332E1A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F2EB;
  --brand-200: #E8E4D4;
  --brand-300: #DBD3B3;
  --brand-400: #C8BD8D;
  --brand-500: #baac6f;
  --brand-600: #A5954F;
  --brand-700: #8A7C42;
  --brand-800: #6E6435;
  --brand-900: #514A29;
  --brand-950: #332E1A;
  --brand: #baac6f;
  --brand-ink: #000000;
}

Colors that work with #baac6f

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#FAF9F5
Tinted page background
Border#E5DFC8
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#6B8FBE
Second voice, not a rival
Dark variant#564E29
Hover, pressed, headers
Light variant#F7F5EE
Selected rows, tints
Dark surface#242114
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 #baac6f

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#6F7DBA
Analogous left#BA866F
Analogous right#A2BA6F
Split-complement 1#6FA2BA
Split-complement 2#866FBA
Triadic 1#6FBAAC
Triadic 2#AC6FBA
Tetradic#6FBA86

RGB percentages

Red72.9%
Green67.5%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow40.3%
Key (black)27.1%

Color previews

#baac6f text on a black background

contrast 9.22:1

Card sample

#baac6f text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 172, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac6f;
background: linear-gradient(135deg, #baac6f, #96BA6F);

Monochromatic scale

Palettes built from #baac6f

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.

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

#baac6f, answered

What color is #baac6f?

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

What is the RGB value of #baac6f?

rgb(186, 172, 111) — 186 red, 172 green and 111 blue out of 255, or 72.9% / 67.5% / 43.5% by channel.

Is #baac6f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4109 and perceived brightness is 67%, so black text on it reaches 9.22:1.

Should I use black or white text on #baac6f?

Black. It scores 9.22:1 against #baac6f, versus 2.28:1 for white — AAA at any size.

What is the complementary color of #baac6f?

#6F7DBA sits directly opposite on the wheel. Softer options are the split-complements #6FA2BA and #866FBA, which give the same contrast with far less vibration.

What colors go well with #baac6f?

For interface work: #FAF9F5 as the surface, #E5DFC8 for borders, #9B8C4B for secondary text, #6B8FBE as an accent and #564E29 for hover and pressed states. For a palette, the analogous pair #BA866F and #A2BA6F stays calm, while #6F7DBA is the loudest partner.

What is #baac6f in CMYK for printing?

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

Is #baac6f warm or cool?

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

Work with #baac6f in the Color Lab