Skip to content

#bbc281

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

RGB
187, 194, 129
HSL
67°, 35%, 63%
CMYK
4, 0, 34, 24
Luminance
0.5073

At a glance

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

Hex
#bbc281
Hue
67°
yellow
Saturation
35%
soft
Lightness
63%
balanced
Brightness
76%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5073
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.15:1
Closest name
Dark Khaki
ΔE2000 5.2
Where it sits
Hue67° of 360°
Saturation35%
Lightness63%
Temperature
Warm ← → Cool31% 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#bbc281
RGBrgb(187, 194, 129)
HSLhsl(67, 35%, 63%)
CMYKcmyk(4%, 0%, 34%, 24%)
LABlab(76.5 -12.7 31.9)
LCHlch(76.5 34.4 111.7)
OKLCHoklch(0.793 0.086 113.4)
Decimal12305025
Display P3color(display-p3 0.733 0.761 0.506)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc281 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#bbc281 on black: 11.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBBC7C
deuteranopia · #CBBE84
tritanopia · #C3BBB1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bbc281 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.

#F9F9F5
#F3F4EC
#E6E8D4
#D6DAB3
#bbc281
#ADB668
#9CA550
#828943
#686E35
#4D512A
#30321A
Base = 400Lightest = 50 · #F9F9F5Darkest = 950 · #30321A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F3F4EC;
  --brand-200: #E6E8D4;
  --brand-300: #D6DAB3;
  --brand-400: #bbc281;
  --brand-500: #ADB668;
  --brand-600: #9CA550;
  --brand-700: #828943;
  --brand-800: #686E35;
  --brand-900: #4D512A;
  --brand-950: #30321A;
  --brand: #bbc281;
  --brand-ink: #000000;
}

Colors that work with #bbc281

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#F9FAF5
Tinted page background
Border#E1E4C8
Hairlines and dividers
Muted text#929B4B
Captions on the surface
Accent#7D87C6
Second voice, not a rival
Dark variant#51562A
Hover, pressed, headers
Light variant#F6F7EE
Selected rows, tints
Dark surface#232414
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 #bbc281

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#8881C2
Analogous left#C2A881
Analogous right#9AC281
Split-complement 1#819AC2
Split-complement 2#A881C2
Triadic 1#81BBC2
Triadic 2#C281BB
Tetradic#81C2A8

RGB percentages

Red73.3%
Green76.1%
Blue50.6%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow33.5%
Key (black)23.9%

Color previews

#bbc281 text on a black background

contrast 11.15:1

Card sample

#bbc281 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 194, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 194, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc281;
background: linear-gradient(135deg, #bbc281, #90C281);

Monochromatic scale

Palettes built from #bbc281

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.

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

#bbc281, answered

What color is #bbc281?

#bbc281 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 5.2). It sits at 67° on the hue wheel with 35% saturation and 63% lightness, which reads as warm.

What is the RGB value of #bbc281?

rgb(187, 194, 129) — 187 red, 194 green and 129 blue out of 255, or 73.3% / 76.1% / 50.6% by channel.

Is #bbc281 a light or a dark color?

It is a light color. Relative luminance is 0.5073 and perceived brightness is 73%, so black text on it reaches 11.15:1.

Should I use black or white text on #bbc281?

Black. It scores 11.15:1 against #bbc281, versus 1.88:1 for white — AAA at any size.

What is the complementary color of #bbc281?

#8881C2 sits directly opposite on the wheel. Softer options are the split-complements #819AC2 and #A881C2, which give the same contrast with far less vibration.

What colors go well with #bbc281?

For interface work: #F9FAF5 as the surface, #E1E4C8 for borders, #929B4B for secondary text, #7D87C6 as an accent and #51562A for hover and pressed states. For a palette, the analogous pair #C2A881 and #9AC281 stays calm, while #8881C2 is the loudest partner.

What is #bbc281 in CMYK for printing?

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

Is #bbc281 warm or cool?

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

Work with #bbc281 in the Color Lab