#BBBB5B#BBBB5B

#BBBB5B is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.2% C 0.119 H 108.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#BBBB5B
RGBrgb(187, 187, 91)
HSLhsl(60, 41%, 55%)
HSVhsv(60, 51%, 73%)
CMYKcmyk(0%, 0%, 51.3%, 26.7%)
CIE-LABlab(74.10, -13.20, 48.02)
CIE-LCHlch(74.10, 49.80, 105.36°)
OKLaboklab(77.22% -0.0387 0.1129)
OKLCHoklch(77.22% 0.119 108.9)
XYZxyz(40.1531, 46.8618, 16.8256)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB5B #5B5BBB
analogous
#BB8B5B #BBBB5B #8BBB5B
triadic
#BBBB5B #5BBBBB #BB5BBB
tetradic
#BBBB5B #5BBB8B #5B5BBB #BB5B8B
square
#BBBB5B #5BBB8B #5B5BBB #BB5B8B
split-complementary
#BBBB5B #5B8BBB #8B5BBB
monochromatic
#6E6E2E #999940 #BBBB5B #CDCD86 #DFDFB2

Accessibility & contrast

On white

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

On black

10.37
#BBBB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB5B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB5B#FFFFFF#000000##000000
##BBBB5B1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B452
Deuteranopia (green-blind)
#C9B860
Tritanopia (blue-blind)
#C6B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbb5b;
/* rgb */ color: rgb(187, 187, 91);
/* oklch */ color: oklch(77.2% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cf8c',
    500: '#bbbb5b',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb5b;
$custom-light: #d1cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb5b",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77215,
    "c": 0.11935,
    "h": 108.9
  },
  "luminance": 0.46861
}

Semantic roles & 50–950 ramp

primary
#BBBB5B
secondary
#A5A5CD
accent
#57D157
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBBB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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