#BB9C38#BB9C38

#BB9C38 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.3% C 0.122 H 91.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#BB9C38
RGBrgb(187, 156, 56)
HSLhsl(46, 54%, 48%)
HSVhsv(46, 70%, 73%)
CMYKcmyk(0%, 16.6%, 70.1%, 26.7%)
CIE-LABlab(65.46, 0.65, 54.37)
CIE-LCHlch(65.46, 54.37, 89.31°)
OKLaboklab(70.26% -0.0031 0.1217)
OKLCHoklch(70.26% 0.122 91.4)
XYZxyz(33.0976, 34.6292, 8.6814)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9C38 #3857BB
analogous
#BB5B38 #BB9C38 #98BB38
triadic
#BB9C38 #38BB9C #9C38BB
tetradic
#BB9C38 #38BB5B #3857BB #BB3898
square
#BB9C38 #38BB5B #3857BB #BB3898
split-complementary
#BB9C38 #3898BB #5B38BB
monochromatic
#5D4D1C #8C752A #BB9C38 #D0B561 #DECB90

Accessibility & contrast

On white

2.65
#BB9C38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#BB9C38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9C38
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9C38#FFFFFF#000000##000000
##BB9C381.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2B
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#CA8F87
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9c38;
/* rgb */ color: rgb(187, 156, 56);
/* oklch */ color: oklch(70.3% 0.122 91.4);
Tailwind
colors: {
  custom: {
    50: '#d3b874',
    500: '#bb9c38',
    950: '#000000',
  },
}
SCSS
$custom: #bb9c38;
$custom-light: #d3b874;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9c38",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 56
  },
  "hsl": {
    "h": 45.802,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70255,
    "c": 0.12175,
    "h": 91.4
  },
  "luminance": 0.34627
}

Semantic roles & 50–950 ramp

primary
#BB9C38
secondary
#8696C8
accent
#6DDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9C38

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

Preview Lab → · Contrast checker → · Palette generator →

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