#bbc971
a balanced, soft yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #bbc971 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 | #bbc971 |
| RGB | rgb(187, 201, 113) |
| HSL | hsl(70, 45%, 62%) |
| CMYK | cmyk(7%, 0%, 44%, 21%) |
| LAB | lab(78.2 -18.1 42.2) |
| LCH | lch(78.2 46.0 113.2) |
| OKLCH | oklch(0.806 0.114 116.4) |
| Decimal | 12306801 |
| Display P3 | color(display-p3 0.733 0.788 0.443) |
Copy-ready code
/* CSS */
color: #bbc971;
background-color: #bbc971;
/* Tailwind (arbitrary) */
class="text-[#bbc971] bg-[#bbc971]"
/* SCSS */
$brand: #bbc971;
/* SwiftUI */
Color(red: 0.733, green: 0.788, blue: 0.443)
/* Android */
Color.parseColor("#bbc971")
/* Flutter */
Color(0xFFBBC971)
/* Python / OpenCV (BGR) */
(113, 201, 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. #bbc971 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: #F9FAF5;
--brand-100: #F3F5EA;
--brand-200: #E7EBD1;
--brand-300: #D8E0AE;
--brand-400: #bbc971;
--brand-500: #B1C15C;
--brand-600: #A0B143;
--brand-700: #859438;
--brand-800: #6B762D;
--brand-900: #4E5624;
--brand-950: #313616;
--brand: #bbc971;
--brand-ink: #000000;
}Colors that work with #bbc971
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 #bbc971
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 | #7F71C9 | Directly opposite — maximum tension | |
| Analogous left | #C9AB71 | Neighbour, quieter | |
| Analogous right | #8FC971 | Neighbour, quieter | |
| Split-complement 1 | #718FC9 | Contrast without the clash | |
| Split-complement 2 | #AB71C9 | Contrast without the clash | |
| Triadic 1 | #71BBC9 | Even thirds — balanced and loud | |
| Triadic 2 | #C971BB | Even thirds — balanced and loud | |
| Tetradic | #71C9AB | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#bbc971 text on a black background
contrast 11.71:1
#bbc971 text on a white background
contrast 1.79:1
CSS3 live lab
The quick brown fox
color: #bbc971;
background-color: #bbc971;
Glowing headline
text-shadow: 2px 2px 8px #bbc971;
Soft neon halo
text-shadow: 0 0 14px rgba(187, 201, 113, 0.45);
box-shadow: 0 12px 32px -8px rgba(187, 201, 113, 0.45);
border: 3px solid #bbc971; background: linear-gradient(135deg, #bbc971, #81C971);
Monochromatic scale
Palettes built from #bbc971
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: Pistachio (#93c572) — ΔE2000 8.4 away, with its history, psychology and brand usage.
#bbc971 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.
#bbc971, answered
What color is #bbc971?
#bbc971 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 6.5). It sits at 70° on the hue wheel with 45% saturation and 62% lightness, which reads as warm.
What is the RGB value of #bbc971?
rgb(187, 201, 113) — 187 red, 201 green and 113 blue out of 255, or 73.3% / 78.8% / 44.3% by channel.
Is #bbc971 a light or a dark color?
It is a light color. Relative luminance is 0.5353 and perceived brightness is 74%, so black text on it reaches 11.71:1.
Should I use black or white text on #bbc971?
Black. It scores 11.71:1 against #bbc971, versus 1.79:1 for white — AAA at any size.
What is the complementary color of #bbc971?
#7F71C9 sits directly opposite on the wheel. Softer options are the split-complements #718FC9 and #AB71C9, which give the same contrast with far less vibration.
What colors go well with #bbc971?
For interface work: #F9FAF4 as the surface, #E3E9C4 for borders, #8E9B4B for secondary text, #6D76CD as an accent and #535C23 for hover and pressed states. For a palette, the analogous pair #C9AB71 and #8FC971 stays calm, while #7F71C9 is the loudest partner.
What is #bbc971 in CMYK for printing?
cmyk(7%, 0%, 44%, 21%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #bbc971 warm or cool?
Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C9B771; nudged cooler, #9BCB6F.