#BBBB2A#BBBB2A

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

Color values

HEX#BBBB2A
RGBrgb(187, 187, 42)
HSLhsl(60, 63%, 45%)
HSVhsv(60, 78%, 73%)
CMYKcmyk(0%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.72, -16.20, 67.30)
CIE-LCHlch(73.72, 69.22, 103.53°)
OKLaboklab(76.79% -0.0521 0.1466)
OKLCHoklch(76.79% 0.156 109.6)
XYZxyz(38.6832, 46.2738, 9.0841)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB2A #2A2ABB
analogous
#BB732A #BBBB2A #73BB2A
triadic
#BBBB2A #2ABBBB #BB2ABB
tetradic
#BBBB2A #2ABB73 #2A2ABB #BB2A73
square
#BBBB2A #2ABB73 #2A2ABB #BB2A73
split-complementary
#BBBB2A #2A73BB #732ABB
monochromatic
#575714 #89891F #BBBB2A #D7D74C #E2E27D

Accessibility & contrast

On white

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

On black

10.25
#BBBB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB2A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB2A#FFFFFF#000000##000000
##BBBB2A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbbb2a;
/* rgb */ color: rgb(187, 187, 42);
/* oklch */ color: oklch(76.8% 0.156 109.6);
Tailwind
colors: {
  custom: {
    50: '#d3cf70',
    500: '#bbbb2a',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb2a;
$custom-light: #d3cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb2a",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76792,
    "c": 0.15554,
    "h": 109.6
  },
  "luminance": 0.46273
}

Semantic roles & 50–950 ramp

primary
#BBBB2A
secondary
#7676CA
accent
#41E641
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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