#BBBB2B#BBBB2B

#BBBB2B is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.155 H 109.6°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BBBB2B
RGBrgb(187, 187, 43)
HSLhsl(60, 63%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0%, 0%, 77%, 26.7%)
CIE-LABlab(73.73, -16.16, 67.01)
CIE-LCHlch(73.73, 68.93, 103.56°)
OKLaboklab(76.8% -0.0519 0.1461)
OKLCHoklch(76.8% 0.155 109.6)
XYZxyz(38.7013, 46.2810, 9.1795)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB2B #2B2BBB
analogous
#BB732B #BBBB2B #73BB2B
triadic
#BBBB2B #2BBBBB #BB2BBB
tetradic
#BBBB2B #2BBB73 #2B2BBB #BB2B73
square
#BBBB2B #2BBB73 #2B2BBB #BB2B73
split-complementary
#BBBB2B #2B73BB #732BBB
monochromatic
#575714 #898920 #BBBB2B #D6D64D #E2E27F

Accessibility & contrast

On white

2.05
#BBBB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BBBB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB2B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB2B#FFFFFF#000000##000000
##BBBB2B1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#C9AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbbb2b;
/* rgb */ color: rgb(187, 187, 43);
/* oklch */ color: oklch(76.8% 0.155 109.6);
Tailwind
colors: {
  custom: {
    50: '#d3cf71',
    500: '#bbbb2b',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb2b;
$custom-light: #d3cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb2b",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76797,
    "c": 0.15505,
    "h": 109.6
  },
  "luminance": 0.4628
}

Semantic roles & 50–950 ramp

primary
#BBBB2B
secondary
#7878CA
accent
#42E642
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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