#BB9E40#BB9E40

#BB9E40 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.117 H 91.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BB9E40
RGBrgb(187, 158, 64)
HSLhsl(46, 49%, 49%)
HSVhsv(46, 66%, 73%)
CMYKcmyk(0%, 15.5%, 65.8%, 26.7%)
CIE-LABlab(66.05, 0.03, 51.51)
CIE-LCHlch(66.05, 51.51, 89.96°)
OKLaboklab(70.74% -0.0039 0.117)
OKLCHoklch(70.74% 0.117 91.9)
XYZxyz(33.6475, 35.3905, 9.9083)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E40 #405DBB
analogous
#BB6140 #BB9E40 #9BBB40
triadic
#BB9E40 #40BB9E #9E40BB
tetradic
#BB9E40 #40BB61 #405DBB #BB409B
square
#BB9E40 #40BB61 #405DBB #BB409B
split-complementary
#BB9E40 #409BBB #6140BB
monochromatic
#605121 #8D7730 #BB9E40 #CDB66C #DCCC99

Accessibility & contrast

On white

2.60
#BB9E40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BB9E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E40
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E40#FFFFFF#000000##000000
##BB9E401.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#CA928A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e40;
/* rgb */ color: rgb(187, 158, 64);
/* oklch */ color: oklch(70.7% 0.117 91.9);
Tailwind
colors: {
  custom: {
    50: '#d3ba79',
    500: '#bb9e40',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e40;
$custom-light: #d3ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e40",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 45.854,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70744,
    "c": 0.11707,
    "h": 91.9
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#BB9E40
secondary
#8F9CC8
accent
#70D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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