#BB9C31#BB9C31

#BB9C31 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.126 H 92.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BB9C31
RGBrgb(187, 156, 49)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 16.6%, 73.8%, 26.7%)
CIE-LABlab(65.41, 0.30, 57.15)
CIE-LCHlch(65.41, 57.15, 89.70°)
OKLaboklab(70.2% -0.0049 0.1263)
OKLCHoklch(70.2% 0.126 92.2)
XYZxyz(32.9382, 34.5654, 7.8420)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9C31 #3150BB
analogous
#BB5731 #BB9C31 #95BB31
triadic
#BB9C31 #31BB9C #9C31BB
tetradic
#BB9C31 #31BB57 #3150BB #BB3195
square
#BB9C31 #31BB57 #3150BB #BB3195
split-complementary
#BB9C31 #3195BB #5731BB
monochromatic
#5A4B18 #8B7424 #BB9C31 #D3B756 #E0CC87

Accessibility & contrast

On white

2.65
#BB9C31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#BB9C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9C31
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9C31#FFFFFF#000000##000000
##BB9C311.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A20
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#CA8F87
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9c31;
/* rgb */ color: rgb(187, 156, 49);
/* oklch */ color: oklch(70.2% 0.126 92.2);
Tailwind
colors: {
  custom: {
    50: '#d3b870',
    500: '#bb9c31',
    950: '#000000',
  },
}
SCSS
$custom: #bb9c31;
$custom-light: #d3b870;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9c31",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 46.522,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70199,
    "c": 0.12637,
    "h": 92.2
  },
  "luminance": 0.34563
}

Semantic roles & 50–950 ramp

primary
#BB9C31
secondary
#7F8FC9
accent
#69E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9C31

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

Preview Lab → · Contrast checker → · Palette generator →

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