#BBBB2D#BBBB2D

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

Color values

HEX#BBBB2D
RGBrgb(187, 187, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0%, 75.9%, 26.7%)
CIE-LABlab(73.74, -16.08, 66.40)
CIE-LCHlch(73.74, 68.32, 103.62°)
OKLaboklab(76.81% -0.0515 0.1452)
OKLCHoklch(76.81% 0.154 109.5)
XYZxyz(38.7389, 46.2961, 9.3775)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB2D #2D2DBB
analogous
#BB742D #BBBB2D #74BB2D
triadic
#BBBB2D #2DBBBB #BB2DBB
tetradic
#BBBB2D #2DBB74 #2D2DBB #BB2D74
square
#BBBB2D #2DBB74 #2D2DBB #BB2D74
split-complementary
#BBBB2D #2D74BB #742DBB
monochromatic
#585815 #8A8A21 #BBBB2D #D5D550 #E1E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBBB2D#FFFFFF#000000##000000
##BBBB2D1.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)
#CAB306
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C9AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbbb2d;
/* rgb */ color: rgb(187, 187, 45);
/* oklch */ color: oklch(76.8% 0.154 109.5);
Tailwind
colors: {
  custom: {
    50: '#d3cf72',
    500: '#bbbb2d',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb2d;
$custom-light: #d3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb2d",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76808,
    "c": 0.15405,
    "h": 109.5
  },
  "luminance": 0.46295
}

Semantic roles & 50–950 ramp

primary
#BBBB2D
secondary
#7A7ACA
accent
#43E443
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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