Skip to content

#b3ba8f

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

RGB
179, 186, 143
HSL
70°, 24%, 65%
CMYK
4, 0, 23, 27
Luminance
0.4668

At a glance

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

Hex
#b3ba8f
Hue
70°
yellow
Saturation
24%
soft
Lightness
65%
balanced
Brightness
73%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4668
WCAG relative
Temperature
Warm
39/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
10.34:1
Closest name
Dark Khaki
ΔE2000 8.5
Where it sits
Hue70° of 360°
Saturation24%
Lightness65%
Temperature
Warm ← → Cool39% 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#b3ba8f
RGBrgb(179, 186, 143)
HSLhsl(70, 24%, 65%)
CMYKcmyk(4%, 0%, 23%, 27%)
LABlab(74.0 -9.8 21.0)
LCHlch(74.0 23.2 114.9)
OKLCHoklch(0.772 0.059 115.3)
Decimal11778703
Display P3color(display-p3 0.702 0.729 0.561)

Copy-ready code

/* CSS */
color: #b3ba8f;
background-color: #b3ba8f;
/* Tailwind (arbitrary) */
class="text-[#b3ba8f] bg-[#b3ba8f]"
/* SCSS */
$brand: #b3ba8f;
/* SwiftUI */
Color(red: 0.702, green: 0.729, blue: 0.561)
/* Android */
Color.parseColor("#b3ba8f")
/* Flutter */
Color(0xFFB3BA8F)
/* Python / OpenCV (BGR) */
(143, 186, 179)

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

Accessibility — WCAG contrast

Aa
#b3ba8f on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#b3ba8f on black: 10.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0B68C
deuteranopia · #C0B691
tritanopia · #B8B5AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b3ba8f 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
#E3E5D7
#D0D4BA
#b3ba8f
#A1AA74
#8E985D
#767E4E
#5F653E
#464B30
#2C2F1E
Base = 400Lightest = 50 · #F8F9F6Darkest = 950 · #2C2F1E
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F2F3ED;
  --brand-200: #E3E5D7;
  --brand-300: #D0D4BA;
  --brand-400: #b3ba8f;
  --brand-500: #A1AA74;
  --brand-600: #8E985D;
  --brand-700: #767E4E;
  --brand-800: #5F653E;
  --brand-900: #464B30;
  --brand-950: #2C2F1E;
  --brand: #b3ba8f;
  --brand-ink: #000000;
}

Colors that work with #b3ba8f

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#F9F9F6
Tinted page background
Border#DDE0CC
Hairlines and dividers
Muted text#858E57
Captions on the surface
Accent#494F83
Second voice, not a rival
Dark variant#4A4F31
Hover, pressed, headers
Light variant#F4F5EF
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 #b3ba8f

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#968FBA
Analogous left#BAAC8F
Analogous right#9DBA8F
Split-complement 1#8F9DBA
Split-complement 2#AC8FBA
Triadic 1#8FB3BA
Triadic 2#BA8FB3
Tetradic#8FBAAC

RGB percentages

Red70.2%
Green72.9%
Blue56.1%

CMYK percentages

Cyan3.8%
Magenta0.0%
Yellow23.1%
Key (black)27.1%

Color previews

#b3ba8f text on a black background

contrast 10.34:1

Card sample

#b3ba8f text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3ba8f

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.

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

#b3ba8f, answered

What color is #b3ba8f?

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

What is the RGB value of #b3ba8f?

rgb(179, 186, 143) — 179 red, 186 green and 143 blue out of 255, or 70.2% / 72.9% / 56.1% by channel.

Is #b3ba8f a light or a dark color?

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

Should I use black or white text on #b3ba8f?

Black. It scores 10.34:1 against #b3ba8f, versus 2.03:1 for white — AAA at any size.

What is the complementary color of #b3ba8f?

#968FBA sits directly opposite on the wheel. Softer options are the split-complements #8F9DBA and #AC8FBA, which give the same contrast with far less vibration.

What colors go well with #b3ba8f?

For interface work: #F9F9F6 as the surface, #DDE0CC for borders, #858E57 for secondary text, #494F83 as an accent and #4A4F31 for hover and pressed states. For a palette, the analogous pair #BAAC8F and #9DBA8F stays calm, while #968FBA is the loudest partner.

What is #b3ba8f in CMYK for printing?

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

Is #b3ba8f warm or cool?

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

Work with #b3ba8f in the Color Lab