#BBAB5F#BBAB5F

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

Color values

HEX#BBAB5F
RGBrgb(187, 171, 95)
HSLhsl(50, 40%, 55%)
HSVhsv(50, 49%, 73%)
CMYKcmyk(0%, 8.6%, 49.2%, 26.7%)
CIE-LABlab(69.84, -4.50, 40.96)
CIE-LCHlch(69.84, 41.21, 96.27°)
OKLaboklab(73.84% -0.0133 0.0978)
OKLCHoklch(73.84% 0.099 97.7)
XYZxyz(37.1231, 40.5182, 16.6896)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB5F #5F6FBB
analogous
#BB7D5F #BBAB5F #9DBB5F
triadic
#BBAB5F #5FBBAB #AB5FBB
tetradic
#BBAB5F #5FBB7D #5F6FBB #BB5F9D
square
#BBAB5F #5FBB7D #5F6FBB #BB5F9D
split-complementary
#BBAB5F #5F9DBB #7D5FBB
monochromatic
#706530 #9B8B42 #BBAB5F #CDC28A #E0D8B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB5F#FFFFFF#000000##000000
##BBAB5F1.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)
#B8A759
Deuteranopia (green-blind)
#BDAD62
Tritanopia (blue-blind)
#C7A199
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbab5f;
/* rgb */ color: rgb(187, 171, 95);
/* oklch */ color: oklch(73.8% 0.099 97.7);
Tailwind
colors: {
  custom: {
    50: '#d1c38e',
    500: '#bbab5f',
    950: '#000000',
  },
}
SCSS
$custom: #bbab5f;
$custom-light: #d1c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab5f",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 95
  },
  "hsl": {
    "h": 49.565,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.73844,
    "c": 0.09871,
    "h": 97.7
  },
  "luminance": 0.40517
}

Semantic roles & 50–950 ramp

primary
#BBAB5F
secondary
#A8AECE
accent
#6DD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBAB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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