#BBAB58#BBAB58

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

Color values

HEX#BBAB58
RGBrgb(187, 171, 88)
HSLhsl(50, 42%, 54%)
HSVhsv(50, 53%, 73%)
CMYKcmyk(0%, 8.6%, 52.9%, 26.7%)
CIE-LABlab(69.75, -5.13, 44.35)
CIE-LCHlch(69.75, 44.65, 96.60°)
OKLaboklab(73.75% -0.0159 0.1046)
OKLCHoklch(73.75% 0.106 98.6)
XYZxyz(36.8191, 40.3966, 15.0885)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB58 #5868BB
analogous
#BB7A58 #BBAB58 #9ABB58
triadic
#BBAB58 #58BBAB #AB58BB
tetradic
#BBAB58 #58BB7A #5868BB #BB589A
square
#BBAB58 #58BB7A #5868BB #BB589A
split-complementary
#BBAB58 #589ABB #7A58BB
monochromatic
#6C622C #98893E #BBAB58 #CDC183 #DED7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB58#FFFFFF#000000##000000
##BBAB581.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)
#B9A750
Deuteranopia (green-blind)
#BDAD5C
Tritanopia (blue-blind)
#C8A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab58;
/* rgb */ color: rgb(187, 171, 88);
/* oklch */ color: oklch(73.7% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#d2c389',
    500: '#bbab58',
    950: '#000000',
  },
}
SCSS
$custom: #bbab58;
$custom-light: #d2c389;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab58",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 88
  },
  "hsl": {
    "h": 50.303,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73748,
    "c": 0.10584,
    "h": 98.6
  },
  "luminance": 0.40395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBAB58

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

Preview Lab → · Contrast checker → · Palette generator →

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