#BB9931#BB9931

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

Color values

HEX#BB9931
RGBrgb(187, 153, 49)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 74%, 73%)
CMYKcmyk(0%, 18.2%, 73.8%, 26.7%)
CIE-LABlab(64.62, 1.92, 56.38)
CIE-LCHlch(64.62, 56.41, 88.05°)
OKLaboklab(69.58% -0.0002 0.1247)
OKLCHoklch(69.58% 0.125 90.1)
XYZxyz(32.4410, 33.5710, 7.6763)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9931 #3153BB
analogous
#BB5431 #BB9931 #98BB31
triadic
#BB9931 #31BB99 #9931BB
tetradic
#BB9931 #31BB54 #3153BB #BB3198
square
#BB9931 #31BB54 #3153BB #BB3198
split-complementary
#BB9931 #3198BB #5431BB
monochromatic
#5A4A18 #8B7124 #BB9931 #D3B456 #E0CA87

Accessibility & contrast

On white

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

On black

7.71
#BB9931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9931
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9931#FFFFFF#000000##000000
##BB99311.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9931;
/* rgb */ color: rgb(187, 153, 49);
/* oklch */ color: oklch(69.6% 0.125 90.1);
Tailwind
colors: {
  custom: {
    50: '#d4b670',
    500: '#bb9931',
    950: '#000000',
  },
}
SCSS
$custom: #bb9931;
$custom-light: #d4b670;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9931",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 45.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.12465,
    "h": 90.1
  },
  "luminance": 0.33569
}

Semantic roles & 50–950 ramp

primary
#BB9931
secondary
#7F91C9
accent
#6CE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9931

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

Preview Lab → · Contrast checker → · Palette generator →

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