#bba97f
a balanced, soft yellow · warm · closest name: Tan
At a glance
Every number on this page in one read: what #bba97f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #bba97f |
| RGB | rgb(187, 169, 127) |
| HSL | hsl(42, 31%, 62%) |
| CMYK | cmyk(0%, 10%, 32%, 27%) |
| LAB | lab(69.8 0.1 24.1) |
| LCH | lch(69.8 24.1 89.7) |
| OKLCH | oklch(0.740 0.061 87.5) |
| Decimal | 12298623 |
| Display P3 | color(display-p3 0.733 0.663 0.498) |
Copy-ready code
/* CSS */
color: #bba97f;
background-color: #bba97f;
/* Tailwind (arbitrary) */
class="text-[#bba97f] bg-[#bba97f]"
/* SCSS */
$brand: #bba97f;
/* SwiftUI */
Color(red: 0.733, green: 0.663, blue: 0.498)
/* Android */
Color.parseColor("#bba97f")
/* Flutter */
Color(0xFFBBA97F)
/* Python / OpenCV (BGR) */
(127, 169, 187)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #bba97f 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.
:root {
--brand-50: #F9F8F6;
--brand-100: #F3F1EC;
--brand-200: #E7E1D5;
--brand-300: #D8CEB6;
--brand-400: #bba97f;
--brand-500: #B19D6C;
--brand-600: #A08955;
--brand-700: #857247;
--brand-800: #6B5C39;
--brand-900: #4E442C;
--brand-950: #312B1B;
--brand: #bba97f;
--brand-ink: #000000;
}Colors that work with #bba97f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #bba97f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #7F91BB | Directly opposite — maximum tension | |
| Analogous left | #BB8B7F | Neighbour, quieter | |
| Analogous right | #AFBB7F | Neighbour, quieter | |
| Split-complement 1 | #7FAFBB | Contrast without the clash | |
| Split-complement 2 | #8B7FBB | Contrast without the clash | |
| Triadic 1 | #7FBBA9 | Even thirds — balanced and loud | |
| Triadic 2 | #A97FBB | Even thirds — balanced and loud | |
| Tetradic | #7FBB8B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#bba97f text on a black background
contrast 9.09:1
#bba97f text on a white background
contrast 2.31:1
CSS3 live lab
The quick brown fox
color: #bba97f;
background-color: #bba97f;
Glowing headline
text-shadow: 2px 2px 8px #bba97f;
Soft neon halo
text-shadow: 0 0 14px rgba(187, 169, 127, 0.45);
box-shadow: 0 12px 32px -8px rgba(187, 169, 127, 0.45);
border: 3px solid #bba97f; background: linear-gradient(135deg, #bba97f, #A5BB7F);
Monochromatic scale
Palettes built from #bba97f
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.
Closest color with a full write-up: Sand (#c2b280) — ΔE2000 3.3 away, with its history, psychology and brand usage.
#bba97f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#bba97f, answered
What color is #bba97f?
#bba97f is a balanced soft yellow, closest to Tan (ΔE2000 6). It sits at 42° on the hue wheel with 31% saturation and 62% lightness, which reads as warm.
What is the RGB value of #bba97f?
rgb(187, 169, 127) — 187 red, 169 green and 127 blue out of 255, or 73.3% / 66.3% / 49.8% by channel.
Is #bba97f a light or a dark color?
It is a mid-tone. Relative luminance is 0.4047 and perceived brightness is 67%, so black text on it reaches 9.09:1.
Should I use black or white text on #bba97f?
Black. It scores 9.09:1 against #bba97f, versus 2.31:1 for white — AAA at any size.
What is the complementary color of #bba97f?
#7F91BB sits directly opposite on the wheel. Softer options are the split-complements #7FAFBB and #8B7FBB, which give the same contrast with far less vibration.
What colors go well with #bba97f?
For interface work: #FAF8F5 as the surface, #E3DBCA for borders, #968150 for secondary text, #436989 as an accent and #53482C for hover and pressed states. For a palette, the analogous pair #BB8B7F and #AFBB7F stays calm, while #7F91BB is the loudest partner.
What is #bba97f in CMYK for printing?
cmyk(0%, 10%, 32%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #bba97f warm or cool?
Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BB9C7F; nudged cooler, #B9BD7D.