#B8BB3A#B8BB3A

#B8BB3A is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.147 H 110.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B8BB3A
RGBrgb(184, 187, 58)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.6%, 0%, 69%, 26.7%)
CIE-LABlab(73.57, -16.76, 61.65)
CIE-LCHlch(73.57, 63.89, 105.21°)
OKLaboklab(76.64% -0.052 0.1375)
OKLCHoklch(76.64% 0.147 110.7)
XYZxyz(38.3025, 46.0375, 10.8706)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB3A #3D3ABB
analogous
#BB7D3A #B8BB3A #78BB3A
triadic
#B8BB3A #3AB8BB #BB3AB8
tetradic
#B8BB3A #3ABB7D #3D3ABB #BB3A78
square
#B8BB3A #3ABB7D #3D3ABB #BB3A78
split-complementary
#B8BB3A #3A78BB #7D3ABB
monochromatic
#5C5E1D #8A8C2C #B8BB3A #CCCF63 #DBDD92

Accessibility & contrast

On white

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

On black

10.21
#B8BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB3A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB3A#FFFFFF#000000##000000
##B8BB3A1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#CBB643
Tritanopia (blue-blind)
#C5AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb3a;
/* rgb */ color: rgb(184, 187, 58);
/* oklch */ color: oklch(76.6% 0.147 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf78',
    500: '#b8bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb3a;
$custom-light: #d1cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb3a",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 61.395,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76639,
    "c": 0.14706,
    "h": 110.7
  },
  "luminance": 0.46036
}

Semantic roles & 50–950 ramp

primary
#B8BB3A
secondary
#8A88C8
accent
#4CDC4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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