#BBAB5A#BBAB5A

#BBAB5A is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.104 H 98.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BBAB5A
RGBrgb(187, 171, 90)
HSLhsl(50, 42%, 54%)
HSVhsv(50, 52%, 73%)
CMYKcmyk(0%, 8.6%, 51.9%, 26.7%)
CIE-LABlab(69.77, -4.96, 43.39)
CIE-LCHlch(69.77, 43.67, 96.52°)
OKLaboklab(73.78% -0.0151 0.1027)
OKLCHoklch(73.78% 0.104 98.4)
XYZxyz(36.9031, 40.4302, 15.5308)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB5A #5A6ABB
analogous
#BB7B5A #BBAB5A #9BBB5A
triadic
#BBAB5A #5ABBAB #AB5ABB
tetradic
#BBAB5A #5ABB7B #5A6ABB #BB5A9B
square
#BBAB5A #5ABB7B #5A6ABB #BB5A9B
split-complementary
#BBAB5A #5A9BBB #7B5ABB
monochromatic
#6D632D #998A3F #BBAB5A #CDC185 #DFD7B1

Accessibility & contrast

On white

2.31
#BBAB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#BBAB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB5A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB5A#FFFFFF#000000##000000
##BBAB5A1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A753
Deuteranopia (green-blind)
#BDAD5D
Tritanopia (blue-blind)
#C8A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab5a;
/* rgb */ color: rgb(187, 171, 90);
/* oklch */ color: oklch(73.8% 0.104 98.4);
Tailwind
colors: {
  custom: {
    50: '#d1c38b',
    500: '#bbab5a',
    950: '#000000',
  },
}
SCSS
$custom: #bbab5a;
$custom-light: #d1c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab5a",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 90
  },
  "hsl": {
    "h": 50.103,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73775,
    "c": 0.10384,
    "h": 98.4
  },
  "luminance": 0.40429
}

Semantic roles & 50–950 ramp

primary
#BBAB5A
secondary
#A4ABCD
accent
#6BD156
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBAB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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