#BB9E32#BB9E32

#BB9E32 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.127 H 93.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BB9E32
RGBrgb(187, 158, 50)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 73%, 73%)
CMYKcmyk(0%, 15.5%, 73.3%, 26.7%)
CIE-LABlab(65.94, -0.73, 57.28)
CIE-LCHlch(65.94, 57.29, 90.73°)
OKLaboklab(70.62% -0.0077 0.1268)
OKLCHoklch(70.62% 0.127 93.5)
XYZxyz(33.2979, 35.2507, 8.0672)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E32 #324FBB
analogous
#BB5A32 #BB9E32 #94BB32
triadic
#BB9E32 #32BB9E #9E32BB
tetradic
#BB9E32 #32BB5A #324FBB #BB3294
square
#BB9E32 #32BB5A #324FBB #BB3294
split-complementary
#BB9E32 #3294BB #5A32BB
monochromatic
#5A4C18 #8B7525 #BB9E32 #D2B858 #DFCD88

Accessibility & contrast

On white

2.61
#BB9E32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BB9E32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E32
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E32#FFFFFF#000000##000000
##BB9E321.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B21
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#CA9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e32;
/* rgb */ color: rgb(187, 158, 50);
/* oklch */ color: oklch(70.6% 0.127 93.5);
Tailwind
colors: {
  custom: {
    50: '#d3ba71',
    500: '#bb9e32',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e32;
$custom-light: #d3ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e32",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 50
  },
  "hsl": {
    "h": 47.299,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70624,
    "c": 0.12699,
    "h": 93.5
  },
  "luminance": 0.35249
}

Semantic roles & 50–950 ramp

primary
#BB9E32
secondary
#808FC9
accent
#67E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9E32

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

Preview Lab → · Contrast checker → · Palette generator →

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