Skip to content

#b2ba89

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

RGB
178, 186, 137
HSL
70°, 26%, 63%
CMYK
4, 0, 26, 27
Luminance
0.4639

At a glance

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

Hex
#b2ba89
Hue
70°
yellow
Saturation
26%
soft
Lightness
63%
balanced
Brightness
73%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4639
WCAG relative
Temperature
Warm
37/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
10.28:1
Closest name
Dark Khaki
ΔE2000 7.4
Where it sits
Hue70° of 360°
Saturation26%
Lightness63%
Temperature
Warm ← → Cool37% 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#b2ba89
RGBrgb(178, 186, 137)
HSLhsl(70, 26%, 63%)
CMYKcmyk(4%, 0%, 26%, 27%)
LABlab(73.8 -11.0 24.0)
LCHlch(73.8 26.4 114.7)
OKLCHoklch(0.770 0.067 115.5)
Decimal11713161
Display P3color(display-p3 0.698 0.729 0.537)

Copy-ready code

/* CSS */
color: #b2ba89;
background-color: #b2ba89;
/* Tailwind (arbitrary) */
class="text-[#b2ba89] bg-[#b2ba89]"
/* SCSS */
$brand: #b2ba89;
/* SwiftUI */
Color(red: 0.698, green: 0.729, blue: 0.537)
/* Android */
Color.parseColor("#b2ba89")
/* Flutter */
Color(0xFFB2BA89)
/* Python / OpenCV (BGR) */
(137, 186, 178)

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

Accessibility — WCAG contrast

Aa
#b2ba89 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#b2ba89 on black: 10.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1B586
deuteranopia · #C0B68B
tritanopia · #B8B4AD

Color scale — 50 to 950

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

#F8F9F6
#F2F3ED
#E3E5D6
#D1D6B8
#b2ba89
#A3AC71
#909A5A
#78814B
#60673C
#474C2E
#2C2F1D
Base = 400Lightest = 50 · #F8F9F6Darkest = 950 · #2C2F1D
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F2F3ED;
  --brand-200: #E3E5D6;
  --brand-300: #D1D6B8;
  --brand-400: #b2ba89;
  --brand-500: #A3AC71;
  --brand-600: #909A5A;
  --brand-700: #78814B;
  --brand-800: #60673C;
  --brand-900: #474C2E;
  --brand-950: #2C2F1D;
  --brand: #b2ba89;
  --brand-ink: #000000;
}

Colors that work with #b2ba89

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#F9F9F5
Tinted page background
Border#DDE1CC
Hairlines and dividers
Muted text#879155
Captions on the surface
Accent#858ABE
Second voice, not a rival
Dark variant#4B502F
Hover, pressed, headers
Light variant#F4F6EF
Selected rows, tints
Dark surface#212315
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 #b2ba89

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#9189BA
Analogous left#BAA989
Analogous right#99BA89
Split-complement 1#8999BA
Split-complement 2#A989BA
Triadic 1#89B2BA
Triadic 2#BA89B2
Tetradic#89BAA9

RGB percentages

Red69.8%
Green72.9%
Blue53.7%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow26.3%
Key (black)27.1%

Color previews

#b2ba89 text on a black background

contrast 10.28:1

Card sample

#b2ba89 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 186, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 186, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ba89;
background: linear-gradient(135deg, #b2ba89, #91BA89);

Monochromatic scale

Palettes built from #b2ba89

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.

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

#b2ba89, answered

What color is #b2ba89?

#b2ba89 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 7.4). It sits at 70° on the hue wheel with 26% saturation and 63% lightness, which reads as warm.

What is the RGB value of #b2ba89?

rgb(178, 186, 137) — 178 red, 186 green and 137 blue out of 255, or 69.8% / 72.9% / 53.7% by channel.

Is #b2ba89 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4639 and perceived brightness is 70%, so black text on it reaches 10.28:1.

Should I use black or white text on #b2ba89?

Black. It scores 10.28:1 against #b2ba89, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #b2ba89?

#9189BA sits directly opposite on the wheel. Softer options are the split-complements #8999BA and #A989BA, which give the same contrast with far less vibration.

What colors go well with #b2ba89?

For interface work: #F9F9F5 as the surface, #DDE1CC for borders, #879155 for secondary text, #858ABE as an accent and #4B502F for hover and pressed states. For a palette, the analogous pair #BAA989 and #99BA89 stays calm, while #9189BA is the loudest partner.

What is #b2ba89 in CMYK for printing?

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

Is #b2ba89 warm or cool?

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

Work with #b2ba89 in the Color Lab