#BB9B31#BB9B31

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

Color values

HEX#BB9B31
RGBrgb(187, 155, 49)
HSLhsl(46, 58%, 46%)
HSVhsv(46, 74%, 73%)
CMYKcmyk(0%, 17.1%, 73.8%, 26.7%)
CIE-LABlab(65.15, 0.84, 56.89)
CIE-LCHlch(65.15, 56.90, 89.15°)
OKLaboklab(69.99% -0.0033 0.1257)
OKLCHoklch(69.99% 0.126 91.5)
XYZxyz(32.7711, 34.2312, 7.7863)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B31 #3151BB
analogous
#BB5631 #BB9B31 #96BB31
triadic
#BB9B31 #31BB9B #9B31BB
tetradic
#BB9B31 #31BB56 #3151BB #BB3196
square
#BB9B31 #31BB56 #3151BB #BB3196
split-complementary
#BB9B31 #3196BB #5631BB
monochromatic
#5A4B18 #8B7324 #BB9B31 #D3B656 #E0CB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9B31#FFFFFF#000000##000000
##BB9B311.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)
#AC9920
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#CA8E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b31;
/* rgb */ color: rgb(187, 155, 49);
/* oklch */ color: oklch(70.0% 0.126 91.5);
Tailwind
colors: {
  custom: {
    50: '#d3b870',
    500: '#bb9b31',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b31;
$custom-light: #d3b870;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b31",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 46.087,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69992,
    "c": 0.12578,
    "h": 91.5
  },
  "luminance": 0.34229
}

Semantic roles & 50–950 ramp

primary
#BB9B31
secondary
#7F90C9
accent
#6AE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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