#BB9D40#BB9D40

#BB9D40 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.116 H 91.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BB9D40
RGBrgb(187, 157, 64)
HSLhsl(45, 49%, 49%)
HSVhsv(45, 66%, 73%)
CMYKcmyk(0%, 16%, 65.8%, 26.7%)
CIE-LABlab(65.79, 0.57, 51.23)
CIE-LCHlch(65.79, 51.23, 89.36°)
OKLaboklab(70.54% -0.0023 0.1164)
OKLCHoklch(70.54% 0.116 91.1)
XYZxyz(33.4776, 35.0508, 9.8516)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D40 #405EBB
analogous
#BB6040 #BB9D40 #9CBB40
triadic
#BB9D40 #40BB9D #9D40BB
tetradic
#BB9D40 #40BB60 #405EBB #BB409C
square
#BB9D40 #40BB60 #405EBB #BB409C
split-complementary
#BB9D40 #409CBB #6040BB
monochromatic
#605021 #8D7730 #BB9D40 #CDB56C #DCCC99

Accessibility & contrast

On white

2.62
#BB9D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#BB9D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D40
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D40#FFFFFF#000000##000000
##BB9D401.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#B5A344
Tritanopia (blue-blind)
#CA9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9d40;
/* rgb */ color: rgb(187, 157, 64);
/* oklch */ color: oklch(70.5% 0.116 91.1);
Tailwind
colors: {
  custom: {
    50: '#d3b979',
    500: '#bb9d40',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d40;
$custom-light: #d3b979;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d40",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 45.366,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70536,
    "c": 0.11643,
    "h": 91.1
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#BB9D40
secondary
#8F9DC8
accent
#71D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9D40

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

Preview Lab → · Contrast checker → · Palette generator →

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