#BB9E42#BB9E42

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

Color values

HEX#BB9E42
RGBrgb(187, 158, 66)
HSLhsl(46, 48%, 50%)
HSVhsv(46, 65%, 73%)
CMYKcmyk(0%, 15.5%, 64.7%, 26.7%)
CIE-LABlab(66.07, 0.16, 50.63)
CIE-LCHlch(66.07, 50.63, 89.82°)
OKLaboklab(70.76% -0.0033 0.1154)
OKLCHoklch(70.76% 0.115 91.6)
XYZxyz(33.7054, 35.4137, 10.2134)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E42 #425FBB
analogous
#BB6242 #BB9E42 #9CBB42
triadic
#BB9E42 #42BB9E #9E42BB
tetradic
#BB9E42 #42BB62 #425FBB #BB429C
square
#BB9E42 #42BB62 #425FBB #BB429C
split-complementary
#BB9E42 #429CBB #6242BB
monochromatic
#615222 #8E7832 #BB9E42 #CCB56E #DCCC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9E42#FFFFFF#000000##000000
##BB9E421.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)
#AE9C38
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#CA928A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9e42;
/* rgb */ color: rgb(187, 158, 66);
/* oklch */ color: oklch(70.8% 0.115 91.6);
Tailwind
colors: {
  custom: {
    50: '#d3ba7a',
    500: '#bb9e42',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e42;
$custom-light: #d3ba7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e42",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 45.62,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.11549,
    "h": 91.6
  },
  "luminance": 0.35412
}

Semantic roles & 50–950 ramp

primary
#BB9E42
secondary
#919EC8
accent
#71D750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9E42

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

Preview Lab → · Contrast checker → · Palette generator →

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