#BBAB5D#BBAB5D

#BBAB5D is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.101 H 98.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BBAB5D
RGBrgb(187, 171, 93)
HSLhsl(50, 41%, 55%)
HSVhsv(50, 50%, 73%)
CMYKcmyk(0%, 8.6%, 50.3%, 26.7%)
CIE-LABlab(69.81, -4.69, 41.94)
CIE-LCHlch(69.81, 42.20, 96.38°)
OKLaboklab(73.82% -0.014 0.0998)
OKLCHoklch(73.82% 0.101 98)
XYZxyz(37.0334, 40.4823, 16.2169)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB5D #5D6DBB
analogous
#BB7C5D #BBAB5D #9CBB5D
triadic
#BBAB5D #5DBBAB #AB5DBB
tetradic
#BBAB5D #5DBB7C #5D6DBB #BB5D9C
square
#BBAB5D #5DBB7C #5D6DBB #BB5D9C
split-complementary
#BBAB5D #5D9CBB #7C5DBB
monochromatic
#6F642F #9A8B41 #BBAB5D #CDC188 #DFD8B3

Accessibility & contrast

On white

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

On black

9.10
#BBAB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB5D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB5D#FFFFFF#000000##000000
##BBAB5D1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A756
Deuteranopia (green-blind)
#BDAD60
Tritanopia (blue-blind)
#C7A199
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbab5d;
/* rgb */ color: rgb(187, 171, 93);
/* oklch */ color: oklch(73.8% 0.101 98.0);
Tailwind
colors: {
  custom: {
    50: '#d1c38d',
    500: '#bbab5d',
    950: '#000000',
  },
}
SCSS
$custom: #bbab5d;
$custom-light: #d1c38d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab5d",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 93
  },
  "hsl": {
    "h": 49.787,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.73816,
    "c": 0.10078,
    "h": 98
  },
  "luminance": 0.40481
}

Semantic roles & 50–950 ramp

primary
#BBAB5D
secondary
#A6ADCE
accent
#6CD157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBAB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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