#BBAB51#BBAB51

#BBAB51 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.113 H 99.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BBAB51
RGBrgb(187, 171, 81)
HSLhsl(51, 44%, 53%)
HSVhsv(51, 57%, 73%)
CMYKcmyk(0%, 8.6%, 56.7%, 26.7%)
CIE-LABlab(69.67, -5.71, 47.65)
CIE-LCHlch(69.67, 47.99, 96.83°)
OKLaboklab(73.66% -0.0183 0.1111)
OKLCHoklch(73.66% 0.113 99.4)
XYZxyz(36.5429, 40.2862, 13.6341)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB51 #5161BB
analogous
#BB7651 #BBAB51 #96BB51
triadic
#BBAB51 #51BBAB #AB51BB
tetradic
#BBAB51 #51BB76 #5161BB #BB5196
square
#BBAB51 #51BB76 #5161BB #BB5196
split-complementary
#BBAB51 #5196BB #7651BB
monochromatic
#695F29 #95873A #BBAB51 #CCC07D #DDD5A9

Accessibility & contrast

On white

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

On black

9.06
#BBAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB51
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB51#FFFFFF#000000##000000
##BBAB511.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A748
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#C8A097
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab51;
/* rgb */ color: rgb(187, 171, 81);
/* oklch */ color: oklch(73.7% 0.113 99.4);
Tailwind
colors: {
  custom: {
    50: '#d2c385',
    500: '#bbab51',
    950: '#000000',
  },
}
SCSS
$custom: #bbab51;
$custom-light: #d2c385;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab51",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 50.943,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73661,
    "c": 0.11257,
    "h": 99.4
  },
  "luminance": 0.40285
}

Semantic roles & 50–950 ramp

primary
#BBAB51
secondary
#9DA4CB
accent
#67D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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