#BB9932#BB9932

#BB9932 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.6% C 0.124 H 90.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#BB9932
RGBrgb(187, 153, 50)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 73%, 73%)
CMYKcmyk(0%, 18.2%, 73.3%, 26.7%)
CIE-LABlab(64.63, 1.97, 55.99)
CIE-LCHlch(64.63, 56.02, 87.98°)
OKLaboklab(69.58% 0 0.124)
OKLCHoklch(69.58% 0.124 90)
XYZxyz(32.4623, 33.5796, 7.7887)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9932 #3254BB
analogous
#BB5432 #BB9932 #99BB32
triadic
#BB9932 #32BB99 #9932BB
tetradic
#BB9932 #32BB54 #3254BB #BB3299
square
#BB9932 #32BB54 #3254BB #BB3299
split-complementary
#BB9932 #3299BB #5432BB
monochromatic
#5A4A18 #8B7125 #BB9932 #D2B458 #DFCA88

Accessibility & contrast

On white

2.72
#BB9932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#BB9932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9932
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9932#FFFFFF#000000##000000
##BB99321.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9722
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#CA8C84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb9932;
/* rgb */ color: rgb(187, 153, 50);
/* oklch */ color: oklch(69.6% 0.124 90.0);
Tailwind
colors: {
  custom: {
    50: '#d3b671',
    500: '#bb9932',
    950: '#000000',
  },
}
SCSS
$custom: #bb9932;
$custom-light: #d3b671;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9932",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 45.109,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.12402,
    "h": 90
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#BB9932
secondary
#8092C9
accent
#6DE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9932

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

Preview Lab → · Contrast checker → · Palette generator →

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