#BBBB8A#BBBB8A

#BBBB8A is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.066 H 107.8°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#BBBB8A
RGBrgb(187, 187, 138)
HSLhsl(60, 26%, 64%)
HSVhsv(60, 26%, 73%)
CMYKcmyk(0%, 0%, 26.2%, 26.7%)
CIE-LABlab(74.79, -7.93, 24.91)
CIE-LCHlch(74.79, 26.14, 107.67°)
OKLaboklab(77.99% -0.0202 0.0627)
OKLCHoklch(77.99% 0.066 107.8)
XYZxyz(42.8513, 47.9410, 31.0360)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB8A #8A8ABB
analogous
#BBA28A #BBBB8A #A2BB8A
triadic
#BBBB8A #8ABBBB #BB8ABB
tetradic
#BBBB8A #8ABBA2 #8A8ABB #BB8AA2
square
#BBBB8A #8ABBA2 #8A8ABB #BB8AA2
split-complementary
#BBBB8A #8AA2BB #A28ABB
monochromatic
#80804A #A5A563 #BBBB8A #D1D1B1 #E8E8D7

Accessibility & contrast

On white

1.98
#BBBB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#BBBB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB8A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB8A#FFFFFF#000000##000000
##BBBB8A1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B787
Deuteranopia (green-blind)
#C4B98C
Tritanopia (blue-blind)
#C2B5AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bbbb8a;
/* rgb */ color: rgb(187, 187, 138);
/* oklch */ color: oklch(78.0% 0.066 107.8);
Tailwind
colors: {
  custom: {
    50: '#d0cfac',
    500: '#bbbb8a',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb8a;
$custom-light: #d0cfac;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb8a",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.77985,
    "c": 0.06586,
    "h": 107.8
  },
  "luminance": 0.4794
}

Semantic roles & 50–950 ramp

primary
#BBBB8A
secondary
#C8C8D9
accent
#40A540
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBBB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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