#BB9F40#BB9F40

#BB9F40 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 71.0% C 0.118 H 92.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#BB9F40
RGBrgb(187, 159, 64)
HSLhsl(46, 49%, 49%)
HSVhsv(46, 66%, 73%)
CMYKcmyk(0%, 15%, 65.8%, 26.7%)
CIE-LABlab(66.32, -0.50, 51.79)
CIE-LCHlch(66.32, 51.79, 90.56°)
OKLaboklab(70.95% -0.0054 0.1176)
OKLCHoklch(70.95% 0.118 92.6)
XYZxyz(33.8187, 35.7331, 9.9654)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F40 #405CBB
analogous
#BB6140 #BB9F40 #9ABB40
triadic
#BB9F40 #40BB9F #9F40BB
tetradic
#BB9F40 #40BB61 #405CBB #BB409A
square
#BB9F40 #40BB61 #405CBB #BB409A
split-complementary
#BB9F40 #409ABB #6140BB
monochromatic
#605121 #8D7830 #BB9F40 #CDB66C #DCCD99

Accessibility & contrast

On white

2.58
#BB9F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#BB9F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F40
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F40#FFFFFF#000000##000000
##BB9F401.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#B6A545
Tritanopia (blue-blind)
#CA938B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f40;
/* rgb */ color: rgb(187, 159, 64);
/* oklch */ color: oklch(71.0% 0.118 92.6);
Tailwind
colors: {
  custom: {
    50: '#d3bb79',
    500: '#bb9f40',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f40;
$custom-light: #d3bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f40",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 46.341,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70952,
    "c": 0.11773,
    "h": 92.6
  },
  "luminance": 0.35731
}

Semantic roles & 50–950 ramp

primary
#BB9F40
secondary
#8F9CC8
accent
#6FD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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