#BB9B3B#BB9B3B

#BB9B3B is a light, moderate yellow. Relative luminance 0.343; OKLCH L 70.1% C 0.119 H 90.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BB9B3B
RGBrgb(187, 155, 59)
HSLhsl(45, 52%, 48%)
HSVhsv(45, 68%, 73%)
CMYKcmyk(0%, 17.1%, 68.4%, 26.7%)
CIE-LABlab(65.22, 1.36, 52.84)
CIE-LCHlch(65.22, 52.85, 88.53°)
OKLaboklab(70.07% -0.0007 0.119)
OKLCHoklch(70.07% 0.119 90.3)
XYZxyz(33.0060, 34.3252, 9.0238)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B3B #3B5BBB
analogous
#BB5B3B #BB9B3B #9BBB3B
triadic
#BB9B3B #3BBB9B #9B3BBB
tetradic
#BB9B3B #3BBB5B #3B5BBB #BB3B9B
square
#BB9B3B #3BBB5B #3B5BBB #BB3B9B
split-complementary
#BB9B3B #3B9BBB #5B3BBB
monochromatic
#5E4E1E #8C742C #BB9B3B #CEB465 #DDCB93

Accessibility & contrast

On white

2.67
#BB9B3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BB9B3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9B3B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9B3B#FFFFFF#000000##000000
##BB9B3B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992F
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#CA8F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b3b;
/* rgb */ color: rgb(187, 155, 59);
/* oklch */ color: oklch(70.1% 0.119 90.3);
Tailwind
colors: {
  custom: {
    50: '#d3b876',
    500: '#bb9b3b',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b3b;
$custom-light: #d3b876;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b3b",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 59
  },
  "hsl": {
    "h": 45,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.11899,
    "h": 90.3
  },
  "luminance": 0.34323
}

Semantic roles & 50–950 ramp

primary
#BB9B3B
secondary
#8A99C8
accent
#70DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9B3B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BB9B3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva