#BBAB56#BBAB56

#BBAB56 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.108 H 98.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BBAB56
RGBrgb(187, 171, 86)
HSLhsl(50, 43%, 54%)
HSVhsv(50, 54%, 73%)
CMYKcmyk(0%, 8.6%, 54%, 26.7%)
CIE-LABlab(69.73, -5.30, 45.30)
CIE-LCHlch(69.73, 45.61, 96.67°)
OKLaboklab(73.72% -0.0166 0.1065)
OKLCHoklch(73.72% 0.108 98.8)
XYZxyz(36.7374, 40.3639, 14.6582)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB56 #5666BB
analogous
#BB7856 #BBAB56 #98BB56
triadic
#BBAB56 #56BBAB #AB56BB
tetradic
#BBAB56 #56BB78 #5666BB #BB5698
square
#BBAB56 #56BB78 #5666BB #BB5698
split-complementary
#BBAB56 #5698BB #7856BB
monochromatic
#6B612B #97893D #BBAB56 #CDC182 #DED6AD

Accessibility & contrast

On white

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

On black

9.07
#BBAB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB56
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB56#FFFFFF#000000##000000
##BBAB561.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74E
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#C8A098
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab56;
/* rgb */ color: rgb(187, 171, 86);
/* oklch */ color: oklch(73.7% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#d2c388',
    500: '#bbab56',
    950: '#000000',
  },
}
SCSS
$custom: #bbab56;
$custom-light: #d2c388;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab56",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 50.495,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73723,
    "c": 0.1078,
    "h": 98.8
  },
  "luminance": 0.40363
}

Semantic roles & 50–950 ramp

primary
#BBAB56
secondary
#A1A8CC
accent
#69D255
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #BBAB56

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

Preview Lab → · Contrast checker → · Palette generator →

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