#BB9B32#BB9B32

#BB9B32 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 70.0% C 0.125 H 91.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB9B32
RGBrgb(187, 155, 50)
HSLhsl(46, 58%, 46%)
HSVhsv(46, 73%, 73%)
CMYKcmyk(0%, 17.1%, 73.3%, 26.7%)
CIE-LABlab(65.15, 0.89, 56.51)
CIE-LCHlch(65.15, 56.51, 89.10°)
OKLaboklab(70% -0.0031 0.1251)
OKLCHoklch(70% 0.125 91.4)
XYZxyz(32.7924, 34.2398, 7.8987)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B32 #3252BB
analogous
#BB5632 #BB9B32 #97BB32
triadic
#BB9B32 #32BB9B #9B32BB
tetradic
#BB9B32 #32BB56 #3252BB #BB3297
square
#BB9B32 #32BB56 #3252BB #BB3297
split-complementary
#BB9B32 #3297BB #5632BB
monochromatic
#5A4B18 #8B7325 #BB9B32 #D2B658 #DFCB88

Accessibility & contrast

On white

2.68
#BB9B32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BB9B32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9B32
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9B32#FFFFFF#000000##000000
##BB9B321.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9922
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#CA8E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b32;
/* rgb */ color: rgb(187, 155, 50);
/* oklch */ color: oklch(70.0% 0.125 91.4);
Tailwind
colors: {
  custom: {
    50: '#d3b871',
    500: '#bb9b32',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b32;
$custom-light: #d3b871;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b32",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 50
  },
  "hsl": {
    "h": 45.985,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.12515,
    "h": 91.4
  },
  "luminance": 0.34238
}

Semantic roles & 50–950 ramp

primary
#BB9B32
secondary
#8091C9
accent
#6BE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9B32

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

Preview Lab → · Contrast checker → · Palette generator →

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