#BBB922#BBB922

#BBB922 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.157 H 108.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BBB922
RGBrgb(187, 185, 34)
HSLhsl(59, 69%, 43%)
HSVhsv(59, 82%, 73%)
CMYKcmyk(0%, 1.1%, 81.8%, 26.7%)
CIE-LABlab(73.14, -15.46, 69.01)
CIE-LCHlch(73.14, 70.72, 102.62°)
OKLaboklab(76.32% -0.0506 0.1488)
OKLCHoklch(76.32% 0.157 108.8)
XYZxyz(38.1328, 45.3795, 8.2635)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB922 #2224BB
analogous
#BB6C22 #BBB922 #70BB22
triadic
#BBB922 #22BBB9 #B922BB
tetradic
#BBB922 #22BB6C #2224BB #BB2270
square
#BBB922 #22BB6C #2224BB #BB2270
split-complementary
#BBB922 #2270BB #6C22BB
monochromatic
#53530F #878619 #BBB922 #DCDA3E #E5E472

Accessibility & contrast

On white

2.08
#BBB922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BBB922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB922
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB922#FFFFFF#000000##000000
##BBB9221.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CBB631
Tritanopia (blue-blind)
#C9AC9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbb922;
/* rgb */ color: rgb(187, 185, 34);
/* oklch */ color: oklch(76.3% 0.157 108.8);
Tailwind
colors: {
  custom: {
    50: '#d4cd6d',
    500: '#bbb922',
    950: '#000000',
  },
}
SCSS
$custom: #bbb922;
$custom-light: #d4cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb922",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 34
  },
  "hsl": {
    "h": 59.216,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76317,
    "c": 0.15717,
    "h": 108.8
  },
  "luminance": 0.45378
}

Semantic roles & 50–950 ramp

primary
#BBB922
secondary
#6D6ECC
accent
#3EEC3C
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB922

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

Preview Lab → · Contrast checker → · Palette generator →

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