#BB9B38#BB9B38

#BB9B38 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.121 H 90.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BB9B38
RGBrgb(187, 155, 56)
HSLhsl(45, 54%, 48%)
HSVhsv(45, 70%, 73%)
CMYKcmyk(0%, 17.1%, 70.1%, 26.7%)
CIE-LABlab(65.20, 1.19, 54.10)
CIE-LCHlch(65.20, 54.11, 88.74°)
OKLaboklab(70.05% -0.0015 0.1211)
OKLCHoklch(70.05% 0.121 90.7)
XYZxyz(32.9304, 34.2950, 8.6257)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B38 #3858BB
analogous
#BB5A38 #BB9B38 #99BB38
triadic
#BB9B38 #38BB9B #9B38BB
tetradic
#BB9B38 #38BB5A #3858BB #BB3899
square
#BB9B38 #38BB5A #3858BB #BB3899
split-complementary
#BB9B38 #3899BB #5A38BB
monochromatic
#5D4D1C #8C742A #BB9B38 #D0B461 #DECB90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9B38#FFFFFF#000000##000000
##BB9B381.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)
#AC992B
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#CA8E87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b38;
/* rgb */ color: rgb(187, 155, 56);
/* oklch */ color: oklch(70.0% 0.121 90.7);
Tailwind
colors: {
  custom: {
    50: '#d3b874',
    500: '#bb9b38',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b38;
$custom-light: #d3b874;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b38",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 45.344,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70047,
    "c": 0.12115,
    "h": 90.7
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#BB9B38
secondary
#8696C8
accent
#6EDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9B38

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

Preview Lab → · Contrast checker → · Palette generator →

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