#BBAB4B#BBAB4B

#BBAB4B is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.118 H 99.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BBAB4B
RGBrgb(187, 171, 75)
HSLhsl(51, 45%, 51%)
HSVhsv(51, 60%, 73%)
CMYKcmyk(0%, 8.6%, 59.9%, 26.7%)
CIE-LABlab(69.61, -6.16, 50.40)
CIE-LCHlch(69.61, 50.78, 96.97°)
OKLaboklab(73.59% -0.0203 0.1162)
OKLCHoklch(73.59% 0.118 99.9)
XYZxyz(36.3278, 40.2001, 12.5011)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4B #4B5BBB
analogous
#BB734B #BBAB4B #93BB4B
triadic
#BBAB4B #4BBBAB #AB4BBB
tetradic
#BBAB4B #4BBB73 #4B5BBB #BB4B93
square
#BBAB4B #4BBB73 #4B5BBB #BB4B93
split-complementary
#BBAB4B #4B93BB #734BBB
monochromatic
#655C26 #928537 #BBAB4B #CCC077 #DDD4A4

Accessibility & contrast

On white

2.32
#BBAB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BBAB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB4B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB4B#FFFFFF#000000##000000
##BBAB4B1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA741
Deuteranopia (green-blind)
#BEAD50
Tritanopia (blue-blind)
#C8A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab4b;
/* rgb */ color: rgb(187, 171, 75);
/* oklch */ color: oklch(73.6% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#d2c381',
    500: '#bbab4b',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4b;
$custom-light: #d2c381;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4b",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 51.429,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73593,
    "c": 0.11798,
    "h": 99.9
  },
  "luminance": 0.40199
}

Semantic roles & 50–950 ramp

primary
#BBAB4B
secondary
#989FCA
accent
#66D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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