#BB9D42#BB9D42

#BB9D42 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.6% C 0.115 H 90.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BB9D42
RGBrgb(187, 157, 66)
HSLhsl(45, 48%, 50%)
HSVhsv(45, 65%, 73%)
CMYKcmyk(0%, 16%, 64.7%, 26.7%)
CIE-LABlab(65.81, 0.70, 50.34)
CIE-LCHlch(65.81, 50.35, 89.20°)
OKLaboklab(70.56% -0.0017 0.1148)
OKLCHoklch(70.56% 0.115 90.8)
XYZxyz(33.5355, 35.0740, 10.1568)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D42 #4260BB
analogous
#BB6142 #BB9D42 #9DBB42
triadic
#BB9D42 #42BB9D #9D42BB
tetradic
#BB9D42 #42BB61 #4260BB #BB429D
square
#BB9D42 #42BB61 #4260BB #BB429D
split-complementary
#BB9D42 #429DBB #6142BB
monochromatic
#615122 #8E7732 #BB9D42 #CCB56E #DCCC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9D42#FFFFFF#000000##000000
##BB9D421.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)
#AD9B38
Deuteranopia (green-blind)
#B5A346
Tritanopia (blue-blind)
#CA9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9d42;
/* rgb */ color: rgb(187, 157, 66);
/* oklch */ color: oklch(70.6% 0.115 90.8);
Tailwind
colors: {
  custom: {
    50: '#d3b97a',
    500: '#bb9d42',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d42;
$custom-light: #d3b97a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d42",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 45.124,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70556,
    "c": 0.11484,
    "h": 90.8
  },
  "luminance": 0.35072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9D42

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

Preview Lab → · Contrast checker → · Palette generator →

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