#BBBB87#BBBB87

#BBBB87 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.070 H 107.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#BBBB87
RGBrgb(187, 187, 135)
HSLhsl(60, 28%, 63%)
HSVhsv(60, 28%, 73%)
CMYKcmyk(0%, 0%, 27.8%, 26.7%)
CIE-LABlab(74.73, -8.34, 26.43)
CIE-LCHlch(74.73, 27.71, 107.51°)
OKLaboklab(77.92% -0.0214 0.0663)
OKLCHoklch(77.92% 0.07 107.9)
XYZxyz(42.6371, 47.8554, 29.9079)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB87 #8787BB
analogous
#BBA187 #BBBB87 #A1BB87
triadic
#BBBB87 #87BBBB #BB87BB
tetradic
#BBBB87 #87BBA1 #8787BB #BB87A1
square
#BBBB87 #87BBA1 #8787BB #BB87A1
split-complementary
#BBBB87 #87A1BB #A187BB
monochromatic
#7F7F48 #A5A560 #BBBB87 #D1D1AE #E7E7D5

Accessibility & contrast

On white

1.99
#BBBB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#BBBB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB87
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB87#FFFFFF#000000##000000
##BBBB871.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B784
Deuteranopia (green-blind)
#C4B989
Tritanopia (blue-blind)
#C2B5AD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bbbb87;
/* rgb */ color: rgb(187, 187, 135);
/* oklch */ color: oklch(77.9% 0.070 107.9);
Tailwind
colors: {
  custom: {
    50: '#d0cfaa',
    500: '#bbbb87',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb87;
$custom-light: #d0cfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb87",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.77924,
    "c": 0.06966,
    "h": 107.9
  },
  "luminance": 0.47855
}

Semantic roles & 50–950 ramp

primary
#BBBB87
secondary
#C6C6D8
accent
#3FA63F
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBBB87

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

Preview Lab → · Contrast checker → · Palette generator →

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