#B8BB56#B8BB56

#B8BB56 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.125 H 110.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B8BB56
RGBrgb(184, 187, 86)
HSLhsl(62, 43%, 54%)
HSVhsv(62, 54%, 73%)
CMYKcmyk(1.6%, 0%, 54%, 26.7%)
CIE-LABlab(73.81, -14.86, 49.98)
CIE-LCHlch(73.81, 52.14, 106.56°)
OKLaboklab(76.9% -0.0437 0.1167)
OKLCHoklch(76.9% 0.125 110.5)
XYZxyz(39.2181, 46.4038, 15.6932)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB56 #5956BB
analogous
#BB8B56 #B8BB56 #85BB56
triadic
#B8BB56 #56B8BB #BB56B8
tetradic
#B8BB56 #56BB8B #5956BB #BB5685
square
#B8BB56 #56BB8B #5956BB #BB5685
split-complementary
#B8BB56 #5685BB #8B56BB
monochromatic
#696B2B #94973D #B8BB56 #CACD82 #DDDEAD

Accessibility & contrast

On white

2.04
#B8BB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#B8BB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB56
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB56#FFFFFF#000000##000000
##B8BB561.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#C3B1A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb56;
/* rgb */ color: rgb(184, 187, 86);
/* oklch */ color: oklch(76.9% 0.125 110.5);
Tailwind
colors: {
  custom: {
    50: '#cfcf89',
    500: '#b8bb56',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb56;
$custom-light: #cfcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb56",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 61.782,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76904,
    "c": 0.12461,
    "h": 110.5
  },
  "luminance": 0.46403
}

Semantic roles & 50–950 ramp

primary
#B8BB56
secondary
#A2A1CC
accent
#55D259
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #B8BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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