#BB9C2A#BB9C2A

#BB9C2A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.2% C 0.130 H 92.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BB9C2A
RGBrgb(187, 156, 42)
HSLhsl(47, 63%, 45%)
HSVhsv(47, 78%, 73%)
CMYKcmyk(0%, 16.6%, 77.5%, 26.7%)
CIE-LABlab(65.37, 0.00, 59.70)
CIE-LCHlch(65.37, 59.70, 90.00°)
OKLaboklab(70.15% -0.0065 0.1303)
OKLCHoklch(70.15% 0.13 92.9)
XYZxyz(32.8018, 34.5109, 7.1236)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9C2A #2A49BB
analogous
#BB532A #BB9C2A #92BB2A
triadic
#BB9C2A #2ABB9C #9C2ABB
tetradic
#BB9C2A #2ABB53 #2A49BB #BB2A92
square
#BB9C2A #2ABB53 #2A49BB #BB2A92
split-complementary
#BB9C2A #2A92BB #532ABB
monochromatic
#574914 #89721F #BB9C2A #D7B94C #E2CC7D

Accessibility & contrast

On white

2.66
#BB9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BB9C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9C2A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9C2A#FFFFFF#000000##000000
##BB9C2A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9913
Deuteranopia (green-blind)
#B5A331
Tritanopia (blue-blind)
#CB8F86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9c2a;
/* rgb */ color: rgb(187, 156, 42);
/* oklch */ color: oklch(70.2% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#d4b86d',
    500: '#bb9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #bb9c2a;
$custom-light: #d4b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9c2a",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 47.172,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70152,
    "c": 0.13045,
    "h": 92.9
  },
  "luminance": 0.34509
}

Semantic roles & 50–950 ramp

primary
#BB9C2A
secondary
#7688CA
accent
#65E641
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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