#BB9933#BB9933

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

Color values

HEX#BB9933
RGBrgb(187, 153, 51)
HSLhsl(45, 57%, 47%)
HSVhsv(45, 73%, 73%)
CMYKcmyk(0%, 18.2%, 72.7%, 26.7%)
CIE-LABlab(64.63, 2.02, 55.60)
CIE-LCHlch(64.63, 55.63, 87.92°)
OKLaboklab(69.59% 0.0003 0.1234)
OKLCHoklch(69.59% 0.123 89.9)
XYZxyz(32.4841, 33.5883, 7.9035)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9933 #3355BB
analogous
#BB5533 #BB9933 #99BB33
triadic
#BB9933 #33BB99 #9933BB
tetradic
#BB9933 #33BB55 #3355BB #BB3399
square
#BB9933 #33BB55 #3355BB #BB3399
split-complementary
#BB9933 #3399BB #5533BB
monochromatic
#5B4A19 #8B7226 #BB9933 #D2B459 #DFCA89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9933#FFFFFF#000000##000000
##BB99331.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)
#AA9724
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#CA8C85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb9933;
/* rgb */ color: rgb(187, 153, 51);
/* oklch */ color: oklch(69.6% 0.123 89.9);
Tailwind
colors: {
  custom: {
    50: '#d3b671',
    500: '#bb9933',
    950: '#000000',
  },
}
SCSS
$custom: #bb9933;
$custom-light: #d3b671;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9933",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 45,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.12338,
    "h": 89.9
  },
  "luminance": 0.33586
}

Semantic roles & 50–950 ramp

primary
#BB9933
secondary
#8193C9
accent
#6EE047
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9933

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

Preview Lab → · Contrast checker → · Palette generator →

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