#BB9E3B#BB9E3B

#BB9E3B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.7% C 0.121 H 92.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#BB9E3B
RGBrgb(187, 158, 59)
HSLhsl(46, 52%, 48%)
HSVhsv(46, 68%, 73%)
CMYKcmyk(0%, 15.5%, 68.4%, 26.7%)
CIE-LABlab(66.01, -0.26, 53.66)
CIE-LCHlch(66.01, 53.66, 90.28°)
OKLaboklab(70.7% -0.0053 0.1207)
OKLCHoklch(70.7% 0.121 92.5)
XYZxyz(33.5115, 35.3362, 9.1923)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E3B #3B58BB
analogous
#BB5E3B #BB9E3B #98BB3B
triadic
#BB9E3B #3BBB9E #9E3BBB
tetradic
#BB9E3B #3BBB5E #3B58BB #BB3B98
square
#BB9E3B #3BBB5E #3B58BB #BB3B98
split-complementary
#BB9E3B #3B98BB #5E3BBB
monochromatic
#5E4F1E #8C772C #BB9E3B #CEB665 #DDCC93

Accessibility & contrast

On white

2.60
#BB9E3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#BB9E3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E3B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E3B#FFFFFF#000000##000000
##BB9E3B1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2E
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#CA9289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e3b;
/* rgb */ color: rgb(187, 158, 59);
/* oklch */ color: oklch(70.7% 0.121 92.5);
Tailwind
colors: {
  custom: {
    50: '#d3ba76',
    500: '#bb9e3b',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e3b;
$custom-light: #d3ba76;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e3b",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 59
  },
  "hsl": {
    "h": 46.406,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.12086,
    "h": 92.5
  },
  "luminance": 0.35334
}

Semantic roles & 50–950 ramp

primary
#BB9E3B
secondary
#8A98C8
accent
#6DDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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