#BBAB7B#BBAB7B

#BBAB7B is a light, moderate yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.067 H 91.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BBAB7B
RGBrgb(187, 171, 123)
HSLhsl(45, 32%, 61%)
HSVhsv(45, 34%, 73%)
CMYKcmyk(0%, 8.6%, 34.2%, 26.7%)
CIE-LABlab(70.26, -1.44, 26.85)
CIE-LCHlch(70.26, 26.89, 93.07°)
OKLaboklab(74.32% -0.0021 0.067)
OKLCHoklch(74.32% 0.067 91.8)
XYZxyz(38.6322, 41.1219, 24.6374)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB7B #7B8BBB
analogous
#BB8B7B #BBAB7B #ABBB7B
triadic
#BBAB7B #7BBBAB #AB7BBB
tetradic
#BBAB7B #7BBB8B #7B8BBB #BB7BAB
square
#BBAB7B #7BBB8B #7B8BBB #BB7BAB
split-complementary
#BBAB7B #7BABBB #8B7BBB
monochromatic
#7C6D40 #A49055 #BBAB7B #D0C5A3 #E5DECC

Accessibility & contrast

On white

2.28
#BBAB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#BBAB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB7B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB7B#FFFFFF#000000##000000
##BBAB7B1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A978
Deuteranopia (green-blind)
#B9AE7D
Tritanopia (blue-blind)
#C5A49E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bbab7b;
/* rgb */ color: rgb(187, 171, 123);
/* oklch */ color: oklch(74.3% 0.067 91.8);
Tailwind
colors: {
  custom: {
    50: '#d0c3a1',
    500: '#bbab7b',
    950: '#000000',
  },
}
SCSS
$custom: #bbab7b;
$custom-light: #d0c3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab7b",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 123
  },
  "hsl": {
    "h": 45,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.06703,
    "h": 91.8
  },
  "luminance": 0.41121
}

Semantic roles & 50–950 ramp

primary
#BBAB7B
secondary
#BDC3D5
accent
#57AB3B
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14120F
muted
#82817E

Preview Lab

Preview with #BBAB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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