#BBBB5A#BBBB5A

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

Color values

HEX#BBBB5A
RGBrgb(187, 187, 90)
HSLhsl(60, 42%, 54%)
HSVhsv(60, 52%, 73%)
CMYKcmyk(0%, 0%, 51.9%, 26.7%)
CIE-LABlab(74.09, -13.28, 48.49)
CIE-LCHlch(74.09, 50.27, 105.32°)
OKLaboklab(77.2% -0.039 0.1138)
OKLCHoklch(77.2% 0.12 108.9)
XYZxyz(40.1103, 46.8446, 16.5999)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB5A #5A5ABB
analogous
#BB8B5A #BBBB5A #8BBB5A
triadic
#BBBB5A #5ABBBB #BB5ABB
tetradic
#BBBB5A #5ABB8B #5A5ABB #BB5A8B
square
#BBBB5A #5ABB8B #5A5ABB #BB5A8B
split-complementary
#BBBB5A #5A8BBB #8B5ABB
monochromatic
#6D6D2D #99993F #BBBB5A #CDCD85 #DFDFB1

Accessibility & contrast

On white

2.03
#BBBB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBBB5A#FFFFFF#000000##000000
##BBBB5A1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbbb5a;
/* rgb */ color: rgb(187, 187, 90);
/* oklch */ color: oklch(77.2% 0.120 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cf8b',
    500: '#bbbb5a',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb5a;
$custom-light: #d1cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb5a",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77203,
    "c": 0.12033,
    "h": 108.9
  },
  "luminance": 0.46844
}

Semantic roles & 50–950 ramp

primary
#BBBB5A
secondary
#A4A4CD
accent
#56D156
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBBB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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