#BB9B2C#BB9B2C

#BB9B2C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 70.0% C 0.129 H 92.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#BB9B2C
RGBrgb(187, 155, 44)
HSLhsl(47, 62%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 17.1%, 76.5%, 26.7%)
CIE-LABlab(65.11, 0.62, 58.75)
CIE-LCHlch(65.11, 58.75, 89.39°)
OKLaboklab(69.96% -0.0045 0.1287)
OKLCHoklch(69.96% 0.129 92)
XYZxyz(32.6713, 34.1913, 7.2611)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9B2C #2C4CBB
analogous
#BB532C #BB9B2C #94BB2C
triadic
#BB9B2C #2CBB9B #9B2CBB
tetradic
#BB9B2C #2CBB53 #2C4CBB #BB2C94
square
#BB9B2C #2CBB53 #2C4CBB #BB2C94
split-complementary
#BB9B2C #2C94BB #532CBB
monochromatic
#584915 #897220 #BB9B2C #D6B74F #E1CB80

Accessibility & contrast

On white

2.68
#BB9B2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#BB9B2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9B2C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9B2C#FFFFFF#000000##000000
##BB9B2C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9917
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#CB8E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb9b2c;
/* rgb */ color: rgb(187, 155, 44);
/* oklch */ color: oklch(70.0% 0.129 92.0);
Tailwind
colors: {
  custom: {
    50: '#d4b86e',
    500: '#bb9b2c',
    950: '#000000',
  },
}
SCSS
$custom: #bb9b2c;
$custom-light: #d4b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9b2c",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 46.573,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.12876,
    "h": 92
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#BB9B2C
secondary
#798BCA
accent
#67E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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