#BBB96C#BBB96C

#BBB96C is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.0% C 0.099 H 107.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#BBB96C
RGBrgb(187, 185, 108)
HSLhsl(58, 37%, 58%)
HSVhsv(58, 42%, 73%)
CMYKcmyk(0%, 1.1%, 42.2%, 26.7%)
CIE-LABlab(73.77, -10.53, 39.23)
CIE-LCHlch(73.77, 40.62, 105.03°)
OKLaboklab(77.02% -0.0294 0.0949)
OKLCHoklch(77.02% 0.099 107.2)
XYZxyz(40.5500, 46.3464, 20.9941)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB96C #6C6EBB
analogous
#BB916C #BBB96C #95BB6C
triadic
#BBB96C #6CBBB9 #B96CBB
tetradic
#BBB96C #6CBB91 #6C6EBB #BB6C95
square
#BBB96C #6CBB91 #6C6EBB #BB6C95
split-complementary
#BBB96C #6C95BB #916CBB
monochromatic
#767437 #A09E4A #BBB96C #CECD96 #E2E1C0

Accessibility & contrast

On white

2.04
#BBB96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#BBB96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB96C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB96C#FFFFFF#000000##000000
##BBB96C1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B366
Deuteranopia (green-blind)
#C6B76F
Tritanopia (blue-blind)
#C5B0A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbb96c;
/* rgb */ color: rgb(187, 185, 108);
/* oklch */ color: oklch(77.0% 0.099 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1cd97',
    500: '#bbb96c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb96c;
$custom-light: #d1cd97;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb96c",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 108
  },
  "hsl": {
    "h": 58.481,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7702,
    "c": 0.09931,
    "h": 107.2
  },
  "luminance": 0.46345
}

Semantic roles & 50–950 ramp

primary
#BBB96C
secondary
#B2B2D1
accent
#5ECD5B
background
#FDFCF9
surface
#FAF9F2
border
#D3D2CC
text
#14130D
muted
#83827E

Preview Lab

Preview with #BBB96C

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

Preview Lab → · Contrast checker → · Palette generator →

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