Skip to content

#bab072

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

RGB
186, 176, 114
HSL
52°, 34%, 59%
CMYK
0, 5, 39, 27
Luminance
0.4270

At a glance

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

Hex
#bab072
Hue
52°
yellow
Saturation
34%
soft
Lightness
59%
balanced
Brightness
73%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4270
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.54:1
Closest name
Dark Khaki
ΔE2000 3.3
Where it sits
Hue52° of 360°
Saturation34%
Lightness59%
Temperature
Warm ← → Cool19% 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#bab072
RGBrgb(186, 176, 114)
HSLhsl(52, 34%, 59%)
CMYKcmyk(0%, 5%, 39%, 27%)
LABlab(71.3 -5.6 33.0)
LCHlch(71.3 33.5 99.6)
OKLCHoklch(0.751 0.082 100.2)
Decimal12234866
Display P3color(display-p3 0.729 0.690 0.447)

Copy-ready code

/* CSS */
color: #bab072;
background-color: #bab072;
/* Tailwind (arbitrary) */
class="text-[#bab072] bg-[#bab072]"
/* SCSS */
$brand: #bab072;
/* SwiftUI */
Color(red: 0.729, green: 0.690, blue: 0.447)
/* Android */
Color.parseColor("#bab072")
/* Flutter */
Color(0xFFBAB072)
/* Python / OpenCV (BGR) */
(114, 176, 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 #bab072 · 9.54:1
Use #000000AAA at every size.
Aa
White text · 2.20:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.54:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bab072 as text scores 2.20:1 on white and 9.54:1 on black.

Accessibility — WCAG contrast

Aa
#bab072 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#bab072 on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBAC6D
deuteranopia · #BEB174
tritanopia · #C4A8A0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bab072 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
#F4F3EC
#E8E5D4
#DAD5B4
#C8C08E
#bab072
#A49950
#897F43
#6E6636
#514B2A
#322F1A
Base = 500Lightest = 50 · #F9F9F5Darkest = 950 · #322F1A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F3EC;
  --brand-200: #E8E5D4;
  --brand-300: #DAD5B4;
  --brand-400: #C8C08E;
  --brand-500: #bab072;
  --brand-600: #A49950;
  --brand-700: #897F43;
  --brand-800: #6E6636;
  --brand-900: #514B2A;
  --brand-950: #322F1A;
  --brand: #bab072;
  --brand-ink: #000000;
}

Colors that work with #bab072

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#E4E0C8
Hairlines and dividers
Muted text#9A8F4B
Captions on the surface
Accent#6E8DBE
Second voice, not a rival
Dark variant#56502A
Hover, pressed, headers
Light variant#F7F5EE
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 #bab072

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#727CBA
Analogous left#BA8C72
Analogous right#A0BA72
Split-complement 1#72A0BA
Split-complement 2#8C72BA
Triadic 1#72BAB0
Triadic 2#B072BA
Tetradic#72BA8C

RGB percentages

Red72.9%
Green69.0%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow38.7%
Key (black)27.1%

Color previews

#bab072 text on a black background

contrast 9.54:1

Card sample

#bab072 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 176, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 176, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab072;
background: linear-gradient(135deg, #bab072, #94BA72);

Monochromatic scale

Palettes built from #bab072

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.

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

#bab072, answered

What color is #bab072?

#bab072 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 3.3). It sits at 52° on the hue wheel with 34% saturation and 59% lightness, which reads as warm.

What is the RGB value of #bab072?

rgb(186, 176, 114) — 186 red, 176 green and 114 blue out of 255, or 72.9% / 69% / 44.7% by channel.

Is #bab072 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4270 and perceived brightness is 68%, so black text on it reaches 9.54:1.

Should I use black or white text on #bab072?

Black. It scores 9.54:1 against #bab072, versus 2.20:1 for white — AAA at any size.

What is the complementary color of #bab072?

#727CBA sits directly opposite on the wheel. Softer options are the split-complements #72A0BA and #8C72BA, which give the same contrast with far less vibration.

What colors go well with #bab072?

For interface work: #FAF9F5 as the surface, #E4E0C8 for borders, #9A8F4B for secondary text, #6E8DBE as an accent and #56502A for hover and pressed states. For a palette, the analogous pair #BA8C72 and #A0BA72 stays calm, while #727CBA is the loudest partner.

What is #bab072 in CMYK for printing?

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

Is #bab072 warm or cool?

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

Work with #bab072 in the Color Lab