#BBBA2B#BBBA2B

#BBBA2B is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.154 H 109.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BBBA2B
RGBrgb(187, 186, 43)
HSLhsl(60, 63%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0%, 0.5%, 77%, 26.7%)
CIE-LABlab(73.45, -15.66, 66.76)
CIE-LCHlch(73.45, 68.57, 103.20°)
OKLaboklab(76.58% -0.0505 0.1456)
OKLCHoklch(76.58% 0.154 109.1)
XYZxyz(38.4899, 45.8582, 9.1091)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA2B #2B2CBB
analogous
#BB722B #BBBA2B #74BB2B
triadic
#BBBA2B #2BBBBA #BA2BBB
tetradic
#BBBA2B #2BBB72 #2B2CBB #BB2B74
square
#BBBA2B #2BBB72 #2B2CBB #BB2B74
split-complementary
#BBBA2B #2B74BB #722BBB
monochromatic
#575714 #898920 #BBBA2B #D6D54D #E2E17F

Accessibility & contrast

On white

2.06
#BBBA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#BBBA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA2B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA2B#FFFFFF#000000##000000
##BBBA2B1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#C9AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbba2b;
/* rgb */ color: rgb(187, 186, 43);
/* oklch */ color: oklch(76.6% 0.154 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3ce71',
    500: '#bbba2b',
    950: '#000000',
  },
}
SCSS
$custom: #bbba2b;
$custom-light: #d3ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba2b",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 59.583,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76578,
    "c": 0.15409,
    "h": 109.1
  },
  "luminance": 0.45857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBBA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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