#BBB987#BBB987

#BBB987 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.067 H 105.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BBB987
RGBrgb(187, 185, 135)
HSLhsl(58, 28%, 63%)
HSVhsv(58, 28%, 73%)
CMYKcmyk(0%, 1.1%, 27.8%, 26.7%)
CIE-LABlab(74.20, -7.29, 25.71)
CIE-LCHlch(74.20, 26.72, 105.84°)
OKLaboklab(77.5% -0.0184 0.0646)
OKLCHoklch(77.5% 0.067 105.9)
XYZxyz(42.2158, 47.0127, 29.7674)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB987 #8789BB
analogous
#BB9F87 #BBB987 #A3BB87
triadic
#BBB987 #87BBB9 #B987BB
tetradic
#BBB987 #87BB9F #8789BB #BB87A3
square
#BBB987 #87BB9F #8789BB #BB87A3
split-complementary
#BBB987 #87A3BB #9F87BB
monochromatic
#7F7D48 #A5A260 #BBB987 #D1D0AE #E7E7D5

Accessibility & contrast

On white

2.02
#BBB987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#BBB987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB987
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB987#FFFFFF#000000##000000
##BBB9871.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B584
Deuteranopia (green-blind)
#C3B889
Tritanopia (blue-blind)
#C3B3AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbb987;
/* rgb */ color: rgb(187, 185, 135);
/* oklch */ color: oklch(77.5% 0.067 105.9);
Tailwind
colors: {
  custom: {
    50: '#d0ceaa',
    500: '#bbb987',
    950: '#000000',
  },
}
SCSS
$custom: #bbb987;
$custom-light: #d0ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb987",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 57.692,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.77499,
    "c": 0.06714,
    "h": 105.9
  },
  "luminance": 0.47012
}

Semantic roles & 50–950 ramp

primary
#BBB987
secondary
#C6C6D8
accent
#43A63F
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BBB987

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

Preview Lab → · Contrast checker → · Palette generator →

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