#BBAB59#BBAB59

#BBAB59 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.105 H 98.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BBAB59
RGBrgb(187, 171, 89)
HSLhsl(50, 42%, 54%)
HSVhsv(50, 52%, 73%)
CMYKcmyk(0%, 8.6%, 52.4%, 26.7%)
CIE-LABlab(69.76, -5.04, 43.87)
CIE-LCHlch(69.76, 44.16, 96.56°)
OKLaboklab(73.76% -0.0155 0.1037)
OKLCHoklch(73.76% 0.105 98.5)
XYZxyz(36.8608, 40.4133, 15.3082)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB59 #5969BB
analogous
#BB7A59 #BBAB59 #9ABB59
triadic
#BBAB59 #59BBAB #AB59BB
tetradic
#BBAB59 #59BB7A #5969BB #BB599A
square
#BBAB59 #59BB7A #5969BB #BB599A
split-complementary
#BBAB59 #599ABB #7A59BB
monochromatic
#6D622D #988A3E #BBAB59 #CDC184 #DFD7B0

Accessibility & contrast

On white

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

On black

9.08
#BBAB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB59
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB59#FFFFFF#000000##000000
##BBAB591.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A752
Deuteranopia (green-blind)
#BDAD5D
Tritanopia (blue-blind)
#C8A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab59;
/* rgb */ color: rgb(187, 171, 89);
/* oklch */ color: oklch(73.8% 0.105 98.5);
Tailwind
colors: {
  custom: {
    50: '#d1c38a',
    500: '#bbab59',
    950: '#000000',
  },
}
SCSS
$custom: #bbab59;
$custom-light: #d1c38a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab59",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 89
  },
  "hsl": {
    "h": 50.204,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.73762,
    "c": 0.10484,
    "h": 98.5
  },
  "luminance": 0.40412
}

Semantic roles & 50–950 ramp

primary
#BBAB59
secondary
#A3AACD
accent
#6AD256
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBAB59

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

Preview Lab → · Contrast checker → · Palette generator →

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