Skip to content

#b2ab91

a balanced, soft yellow · warm · closest name: Tan

RGB
178, 171, 145
HSL
47°, 18%, 63%
CMYK
0, 4, 19, 30
Luminance
0.4064

At a glance

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

Hex
#b2ab91
Hue
47°
yellow
Saturation
18%
soft
Lightness
63%
balanced
Brightness
70%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4064
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.13:1
Closest name
Tan
ΔE2000 9.8
Where it sits
Hue47° of 360°
Saturation18%
Lightness63%
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#b2ab91
RGBrgb(178, 171, 145)
HSLhsl(47, 18%, 63%)
CMYKcmyk(0%, 4%, 19%, 30%)
LABlab(69.9 -1.9 14.3)
LCHlch(69.9 14.4 97.5)
OKLCHoklch(0.740 0.037 94.7)
Decimal11709329
Display P3color(display-p3 0.698 0.671 0.569)

Copy-ready code

/* CSS */
color: #b2ab91;
background-color: #b2ab91;
/* Tailwind (arbitrary) */
class="text-[#b2ab91] bg-[#b2ab91]"
/* SCSS */
$brand: #b2ab91;
/* SwiftUI */
Color(red: 0.698, green: 0.671, blue: 0.569)
/* Android */
Color.parseColor("#b2ab91")
/* Flutter */
Color(0xFFB2AB91)
/* Python / OpenCV (BGR) */
(145, 171, 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 #b2ab91 · 9.13:1
Use #000000AAA at every size.
Aa
White text · 2.30:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.13:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b2ab91 as text scores 2.30:1 on white and 9.13:1 on black.

Accessibility — WCAG contrast

Aa
#b2ab91 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#b2ab91 on black: 9.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B1A98F
deuteranopia · #B3AC92
tritanopia · #B8A7A4

Color scale — 50 to 950

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

#F8F8F6
#F2F1EE
#E3E1D9
#D1CDBD
#b2ab91
#A39A7B
#908765
#787054
#605A43
#474333
#2C2A20
Base = 400Lightest = 50 · #F8F8F6Darkest = 950 · #2C2A20
:root {
  --brand-50: #F8F8F6;
  --brand-100: #F2F1EE;
  --brand-200: #E3E1D9;
  --brand-300: #D1CDBD;
  --brand-400: #b2ab91;
  --brand-500: #A39A7B;
  --brand-600: #908765;
  --brand-700: #787054;
  --brand-800: #605A43;
  --brand-900: #474333;
  --brand-950: #2C2A20;
  --brand: #b2ab91;
  --brand-ink: #000000;
}

Colors that work with #b2ab91

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#F9F8F6
Tinted page background
Border#DDDACF
Hairlines and dividers
Muted text#877E5F
Captions on the surface
Accent#50647C
Second voice, not a rival
Dark variant#4B4635
Hover, pressed, headers
Light variant#F4F4F0
Selected rows, tints
Dark surface#211F17
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 #b2ab91

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#9198B2
Analogous left#B29A91
Analogous right#A8B291
Split-complement 1#91A8B2
Split-complement 2#9A91B2
Triadic 1#91B2AB
Triadic 2#AB91B2
Tetradic#91B29A

RGB percentages

Red69.8%
Green67.1%
Blue56.9%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow18.5%
Key (black)30.2%

Color previews

#b2ab91 text on a black background

contrast 9.13:1

Card sample

#b2ab91 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 171, 145, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 171, 145, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ab91;
background: linear-gradient(135deg, #b2ab91, #A3B291);

Monochromatic scale

Palettes built from #b2ab91

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.

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

#b2ab91, answered

What color is #b2ab91?

#b2ab91 is a balanced soft yellow, closest to Tan (ΔE2000 9.8). It sits at 47° on the hue wheel with 18% saturation and 63% lightness, which reads as warm.

What is the RGB value of #b2ab91?

rgb(178, 171, 145) — 178 red, 171 green and 145 blue out of 255, or 69.8% / 67.1% / 56.9% by channel.

Is #b2ab91 a light or a dark color?

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

Should I use black or white text on #b2ab91?

Black. It scores 9.13:1 against #b2ab91, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #b2ab91?

#9198B2 sits directly opposite on the wheel. Softer options are the split-complements #91A8B2 and #9A91B2, which give the same contrast with far less vibration.

What colors go well with #b2ab91?

For interface work: #F9F8F6 as the surface, #DDDACF for borders, #877E5F for secondary text, #50647C as an accent and #4B4635 for hover and pressed states. For a palette, the analogous pair #B29A91 and #A8B291 stays calm, while #9198B2 is the loudest partner.

What is #b2ab91 in CMYK for printing?

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

Is #b2ab91 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 #B2A091; nudged cooler, #AEB48F.

Work with #b2ab91 in the Color Lab