#BBB822#BBB822

#BBB822 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.156 H 108.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#BBB822
RGBrgb(187, 184, 34)
HSLhsl(59, 69%, 43%)
HSVhsv(59, 82%, 73%)
CMYKcmyk(0%, 1.6%, 81.8%, 26.7%)
CIE-LABlab(72.87, -14.95, 68.78)
CIE-LCHlch(72.87, 70.39, 102.26°)
OKLaboklab(76.1% -0.0492 0.1483)
OKLCHoklch(76.1% 0.156 108.4)
XYZxyz(37.9243, 44.9626, 8.1940)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB822 #2225BB
analogous
#BB6C22 #BBB822 #71BB22
triadic
#BBB822 #22BBB8 #B822BB
tetradic
#BBB822 #22BB6C #2225BB #BB2271
square
#BBB822 #22BB6C #2225BB #BB2271
split-complementary
#BBB822 #2271BB #6C22BB
monochromatic
#53520F #878519 #BBB822 #DCD93E #E5E372

Accessibility & contrast

On white

2.10
#BBB822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#BBB822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB822
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB822#FFFFFF#000000##000000
##BBB8221.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#CAB531
Tritanopia (blue-blind)
#C9AB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb822;
/* rgb */ color: rgb(187, 184, 34);
/* oklch */ color: oklch(76.1% 0.156 108.4);
Tailwind
colors: {
  custom: {
    50: '#d4cd6d',
    500: '#bbb822',
    950: '#000000',
  },
}
SCSS
$custom: #bbb822;
$custom-light: #d4cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb822",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 34
  },
  "hsl": {
    "h": 58.824,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.15624,
    "h": 108.4
  },
  "luminance": 0.44961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBB822

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

Preview Lab → · Contrast checker → · Palette generator →

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