Skip to content

#bbc971

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

RGB
187, 201, 113
HSL
70°, 45%, 62%
CMYK
7, 0, 44, 21
Luminance
0.5353

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.

Hex
#bbc971
Hue
70°
yellow
Saturation
45%
soft
Lightness
62%
balanced
Brightness
79%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5353
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.71:1
Closest name
Dark Khaki
ΔE2000 6.5
Where it sits
Hue70° of 360°
Saturation45%
Lightness62%
Temperature
Warm ← → Cool33% 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#bbc971
RGBrgb(187, 201, 113)
HSLhsl(70, 45%, 62%)
CMYKcmyk(7%, 0%, 44%, 21%)
LABlab(78.2 -18.1 42.2)
LCHlch(78.2 46.0 113.2)
OKLCHoklch(0.806 0.114 116.4)
Decimal12306801
Display P3color(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.

Readable at a glance#000000 on #bbc971 · 11.71:1
Use #000000AAA at every size.
Aa
White text · 1.79:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.71:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bbc971 as text scores 1.79:1 on white and 11.71:1 on black.

Accessibility — WCAG contrast

Aa
#bbc971 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#bbc971 on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D4C16A
deuteranopia · #D2C275
tritanopia · #C4C0B4

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.

#F9FAF5
#F3F5EA
#E7EBD1
#D8E0AE
#bbc971
#B1C15C
#A0B143
#859438
#6B762D
#4E5624
#313616
Base = 400Lightest = 50 · #F9FAF5Darkest = 950 · #313616
: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.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E3E9C4
Hairlines and dividers
Muted text#8E9B4B
Captions on the surface
Accent#6D76CD
Second voice, not a rival
Dark variant#535C23
Hover, pressed, headers
Light variant#F6F8ED
Selected rows, tints
Dark surface#222414
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 #bbc971

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#7F71C9
Analogous left#C9AB71
Analogous right#8FC971
Split-complement 1#718FC9
Split-complement 2#AB71C9
Triadic 1#71BBC9
Triadic 2#C971BB
Tetradic#71C9AB

RGB percentages

Red73.3%
Green78.8%
Blue44.3%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow43.8%
Key (black)21.2%

Color previews

#bbc971 text on a black background

contrast 11.71:1

Card sample

#bbc971 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 201, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 201, 113, 0.45);
Border & gradient
Gradient panel
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.

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

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

Work with #bbc971 in the Color Lab