#BBAB5B#BBAB5B

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

Color values

HEX#BBAB5B
RGBrgb(187, 171, 91)
HSLhsl(50, 41%, 55%)
HSVhsv(50, 51%, 73%)
CMYKcmyk(0%, 8.6%, 51.3%, 26.7%)
CIE-LABlab(69.79, -4.87, 42.91)
CIE-LCHlch(69.79, 43.18, 96.47°)
OKLaboklab(73.79% -0.0148 0.1018)
OKLCHoklch(73.79% 0.103 98.3)
XYZxyz(36.9459, 40.4474, 15.7565)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB5B #5B6BBB
analogous
#BB7B5B #BBAB5B #9BBB5B
triadic
#BBAB5B #5BBBAB #AB5BBB
tetradic
#BBAB5B #5BBB7B #5B6BBB #BB5B9B
square
#BBAB5B #5BBB7B #5B6BBB #BB5B9B
split-complementary
#BBAB5B #5B9BBB #7B5BBB
monochromatic
#6E632E #998A40 #BBAB5B #CDC186 #DFD7B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB5B#FFFFFF#000000##000000
##BBAB5B1.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)
#B9A754
Deuteranopia (green-blind)
#BDAD5E
Tritanopia (blue-blind)
#C7A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab5b;
/* rgb */ color: rgb(187, 171, 91);
/* oklch */ color: oklch(73.8% 0.103 98.3);
Tailwind
colors: {
  custom: {
    50: '#d1c38b',
    500: '#bbab5b',
    950: '#000000',
  },
}
SCSS
$custom: #bbab5b;
$custom-light: #d1c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab5b",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 91
  },
  "hsl": {
    "h": 50,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.10283,
    "h": 98.3
  },
  "luminance": 0.40446
}

Semantic roles & 50–950 ramp

primary
#BBAB5B
secondary
#A5ABCD
accent
#6BD157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBAB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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