Skip to content

#baba82

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

RGB
186, 186, 130
HSL
60°, 29%, 62%
CMYK
0, 0, 30, 27
Luminance
0.4717

At a glance

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

Hex
#baba82
Hue
60°
yellow
Saturation
29%
soft
Lightness
62%
balanced
Brightness
73%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4717
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
10.43:1
Closest name
Dark Khaki
ΔE2000 4.6
Where it sits
Hue60° of 360°
Saturation29%
Lightness62%
Temperature
Warm ← → Cool29% 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#baba82
RGBrgb(186, 186, 130)
HSLhsl(60, 29%, 62%)
CMYKcmyk(0%, 0%, 30%, 27%)
LABlab(74.3 -8.9 28.5)
LCHlch(74.3 29.8 107.3)
OKLCHoklch(0.775 0.075 108.0)
Decimal12237442
Display P3color(display-p3 0.729 0.729 0.510)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baba82 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#baba82 on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3B57E
deuteranopia · #C4B884
tritanopia · #C2B3AB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #baba82 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
#F3F3EC
#E6E6D5
#D7D7B7
#baba82
#AFAF6E
#9E9E57
#838349
#69693A
#4D4D2D
#30301C
Base = 400Lightest = 50 · #F9F9F6Darkest = 950 · #30301C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F3EC;
  --brand-200: #E6E6D5;
  --brand-300: #D7D7B7;
  --brand-400: #baba82;
  --brand-500: #AFAF6E;
  --brand-600: #9E9E57;
  --brand-700: #838349;
  --brand-800: #69693A;
  --brand-900: #4D4D2D;
  --brand-950: #30301C;
  --brand: #baba82;
  --brand-ink: #000000;
}

Colors that work with #baba82

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#FAFAF5
Tinted page background
Border#E2E2CA
Hairlines and dividers
Muted text#949452
Captions on the surface
Accent#7E8EBE
Second voice, not a rival
Dark variant#52522D
Hover, pressed, headers
Light variant#F6F6EF
Selected rows, tints
Dark surface#242414
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 #baba82

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#8282BA
Analogous left#BA9E82
Analogous right#9EBA82
Split-complement 1#829EBA
Split-complement 2#9E82BA
Triadic 1#82BABA
Triadic 2#BA82BA
Tetradic#82BA9E

RGB percentages

Red72.9%
Green72.9%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow30.1%
Key (black)27.1%

Color previews

#baba82 text on a black background

contrast 10.43:1

Card sample

#baba82 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 186, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 186, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baba82;
background: linear-gradient(135deg, #baba82, #95BA82);

Monochromatic scale

Palettes built from #baba82

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.

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

#baba82, answered

What color is #baba82?

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

What is the RGB value of #baba82?

rgb(186, 186, 130) — 186 red, 186 green and 130 blue out of 255, or 72.9% / 72.9% / 51% by channel.

Is #baba82 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4717 and perceived brightness is 71%, so black text on it reaches 10.43:1.

Should I use black or white text on #baba82?

Black. It scores 10.43:1 against #baba82, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #baba82?

#8282BA sits directly opposite on the wheel. Softer options are the split-complements #829EBA and #9E82BA, which give the same contrast with far less vibration.

What colors go well with #baba82?

For interface work: #FAFAF5 as the surface, #E2E2CA for borders, #949452 for secondary text, #7E8EBE as an accent and #52522D for hover and pressed states. For a palette, the analogous pair #BA9E82 and #9EBA82 stays calm, while #8282BA is the loudest partner.

What is #baba82 in CMYK for printing?

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

Is #baba82 warm or cool?

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

Work with #baba82 in the Color Lab