#BBBB51#BBBB51

#BBBB51 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.1% C 0.129 H 109.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBBB51
RGBrgb(187, 187, 81)
HSLhsl(60, 44%, 53%)
HSVhsv(60, 57%, 73%)
CMYKcmyk(0%, 0%, 56.7%, 26.7%)
CIE-LABlab(74.00, -14.01, 52.56)
CIE-LCHlch(74.00, 54.40, 104.92°)
OKLaboklab(77.1% -0.042 0.1216)
OKLCHoklch(77.1% 0.129 109.1)
XYZxyz(39.7501, 46.7006, 14.7032)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB51 #5151BB
analogous
#BB8651 #BBBB51 #86BB51
triadic
#BBBB51 #51BBBB #BB51BB
tetradic
#BBBB51 #51BB86 #5151BB #BB5186
square
#BBBB51 #51BB86 #5151BB #BB5186
split-complementary
#BBBB51 #5186BB #8651BB
monochromatic
#696929 #95953A #BBBB51 #CCCC7D #DDDDA9

Accessibility & contrast

On white

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

On black

10.34
#BBBB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB51
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB51#FFFFFF#000000##000000
##BBBB511.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#C7B0A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbb51;
/* rgb */ color: rgb(187, 187, 81);
/* oklch */ color: oklch(77.1% 0.129 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cf86',
    500: '#bbbb51',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb51;
$custom-light: #d2cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb51",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.771,
    "c": 0.12865,
    "h": 109.1
  },
  "luminance": 0.467
}

Semantic roles & 50–950 ramp

primary
#BBBB51
secondary
#9D9DCB
accent
#54D454
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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