#B8BB2A#B8BB2A

#B8BB2A is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.156 H 110.8°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B8BB2A
RGBrgb(184, 187, 42)
HSLhsl(61, 63%, 45%)
HSVhsv(61, 78%, 73%)
CMYKcmyk(1.6%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.48, -17.49, 66.99)
CIE-LCHlch(73.48, 69.24, 104.63°)
OKLaboklab(76.54% -0.0555 0.146)
OKLCHoklch(76.54% 0.156 110.8)
XYZxyz(37.9568, 45.8992, 9.0500)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB2A #2D2ABB
analogous
#BB752A #B8BB2A #70BB2A
triadic
#B8BB2A #2AB8BB #BB2AB8
tetradic
#B8BB2A #2ABB75 #2D2ABB #BB2A70
square
#B8BB2A #2ABB75 #2D2ABB #BB2A70
split-complementary
#B8BB2A #2A70BB #752ABB
monochromatic
#565714 #87891F #B8BB2A #D4D74C #E0E27D

Accessibility & contrast

On white

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

On black

10.18
#B8BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB2A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB2A#FFFFFF#000000##000000
##B8BB2A1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bb2a;
/* rgb */ color: rgb(184, 187, 42);
/* oklch */ color: oklch(76.5% 0.156 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf70',
    500: '#b8bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb2a;
$custom-light: #d1cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb2a",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 61.241,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.15622,
    "h": 110.8
  },
  "luminance": 0.45898
}

Semantic roles & 50–950 ramp

primary
#B8BB2A
secondary
#7876CA
accent
#41E645
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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