#B7BB56#B7BB56

#B7BB56 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.125 H 111.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B7BB56
RGBrgb(183, 187, 86)
HSLhsl(62, 43%, 54%)
HSVhsv(62, 54%, 73%)
CMYKcmyk(2.1%, 0%, 54%, 26.7%)
CIE-LABlab(73.73, -15.28, 49.87)
CIE-LCHlch(73.73, 52.15, 107.03°)
OKLaboklab(76.82% -0.0449 0.1165)
OKLCHoklch(76.82% 0.125 111.1)
XYZxyz(38.9794, 46.2807, 15.6820)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB56 #5A56BB
analogous
#BB8C56 #B7BB56 #84BB56
triadic
#B7BB56 #56B7BB #BB56B7
tetradic
#B7BB56 #56BB8C #5A56BB #BB5684
square
#B7BB56 #56BB8C #5A56BB #BB5684
split-complementary
#B7BB56 #5684BB #8C56BB
monochromatic
#696B2B #93973D #B7BB56 #CACD82 #DCDEAD

Accessibility & contrast

On white

2.05
#B7BB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B7BB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB56
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB56#FFFFFF#000000##000000
##B7BB561.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb56;
/* rgb */ color: rgb(183, 187, 86);
/* oklch */ color: oklch(76.8% 0.125 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf89',
    500: '#b7bb56',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb56;
$custom-light: #cfcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb56",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 62.376,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76821,
    "c": 0.1248,
    "h": 111.1
  },
  "luminance": 0.4628
}

Semantic roles & 50–950 ramp

primary
#B7BB56
secondary
#A2A1CC
accent
#55D25A
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B7BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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