Skip to content

#b2b686

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

RGB
178, 182, 134
HSL
65°, 25%, 62%
CMYK
2, 0, 26, 29
Luminance
0.4464

At a glance

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

Hex
#b2b686
Hue
65°
yellow
Saturation
25%
soft
Lightness
62%
balanced
Brightness
71%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4464
WCAG relative
Temperature
Warm
35/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.93:1
Closest name
Dark Khaki
ΔE2000 6.8
Where it sits
Hue65° of 360°
Saturation25%
Lightness62%
Temperature
Warm ← → Cool35% 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#b2b686
RGBrgb(178, 182, 134)
HSLhsl(65, 25%, 62%)
CMYKcmyk(2%, 0%, 26%, 29%)
LABlab(72.7 -9.3 24.0)
LCHlch(72.7 25.8 111.3)
OKLCHoklch(0.761 0.065 111.8)
Decimal11712134
Display P3color(display-p3 0.698 0.714 0.525)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2b686 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#b2b686 on black: 9.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDB283
deuteranopia · #BDB388
tritanopia · #B8B0A9

Color scale — 50 to 950

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

#F9F9F6
#F2F3ED
#E4E5D7
#D2D5B9
#b2b686
#A6AB73
#94995C
#7B7F4D
#62663D
#494B2F
#2D2F1E
Base = 400Lightest = 50 · #F9F9F6Darkest = 950 · #2D2F1E
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F2F3ED;
  --brand-200: #E4E5D7;
  --brand-300: #D2D5B9;
  --brand-400: #b2b686;
  --brand-500: #A6AB73;
  --brand-600: #94995C;
  --brand-700: #7B7F4D;
  --brand-800: #62663D;
  --brand-900: #494B2F;
  --brand-950: #2D2F1E;
  --brand: #b2b686;
  --brand-ink: #000000;
}

Colors that work with #b2b686

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#DFE0CC
Hairlines and dividers
Muted text#8A8F56
Captions on the surface
Accent#828CBA
Second voice, not a rival
Dark variant#4D4F30
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#222315
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 #b2b686

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#8A86B6
Analogous left#B6A286
Analogous right#9AB686
Split-complement 1#869AB6
Split-complement 2#A286B6
Triadic 1#86B2B6
Triadic 2#B686B2
Tetradic#86B6A2

RGB percentages

Red69.8%
Green71.4%
Blue52.5%

CMYK percentages

Cyan2.2%
Magenta0.0%
Yellow26.4%
Key (black)28.6%

Color previews

#b2b686 text on a black background

contrast 9.93:1

Card sample

#b2b686 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 182, 134, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 182, 134, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2b686;
background: linear-gradient(135deg, #b2b686, #92B686);

Monochromatic scale

Palettes built from #b2b686

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.

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

#b2b686, answered

What color is #b2b686?

#b2b686 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 6.8). It sits at 65° on the hue wheel with 25% saturation and 62% lightness, which reads as warm.

What is the RGB value of #b2b686?

rgb(178, 182, 134) — 178 red, 182 green and 134 blue out of 255, or 69.8% / 71.4% / 52.5% by channel.

Is #b2b686 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4464 and perceived brightness is 69%, so black text on it reaches 9.93:1.

Should I use black or white text on #b2b686?

Black. It scores 9.93:1 against #b2b686, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #b2b686?

#8A86B6 sits directly opposite on the wheel. Softer options are the split-complements #869AB6 and #A286B6, which give the same contrast with far less vibration.

What colors go well with #b2b686?

For interface work: #F9F9F5 as the surface, #DFE0CC for borders, #8A8F56 for secondary text, #828CBA as an accent and #4D4F30 for hover and pressed states. For a palette, the analogous pair #B6A286 and #9AB686 stays calm, while #8A86B6 is the loudest partner.

What is #b2b686 in CMYK for printing?

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

Is #b2b686 warm or cool?

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

Work with #b2b686 in the Color Lab