#B7BB54#B7BB54

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

Color values

HEX#B7BB54
RGBrgb(183, 187, 84)
HSLhsl(62, 43%, 53%)
HSVhsv(62, 55%, 73%)
CMYKcmyk(2.1%, 0%, 55.1%, 26.7%)
CIE-LABlab(73.71, -15.44, 50.77)
CIE-LCHlch(73.71, 53.07, 106.91°)
OKLaboklab(76.8% -0.0455 0.1182)
OKLCHoklch(76.8% 0.127 111.1)
XYZxyz(38.8999, 46.2489, 15.2635)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB54 #5854BB
analogous
#BB8B54 #B7BB54 #83BB54
triadic
#B7BB54 #54B7BB #BB54B7
tetradic
#B7BB54 #54BB8B #5854BB #BB5483
square
#B7BB54 #54BB8B #5854BB #BB5483
split-complementary
#B7BB54 #5483BB #8B54BB
monochromatic
#686A2A #93963C #B7BB54 #C9CC80 #DCDEAC

Accessibility & contrast

On white

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

On black

10.25
#B7BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB54
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB54#FFFFFF#000000##000000
##B7BB541.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B449
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#C2B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb54;
/* rgb */ color: rgb(183, 187, 84);
/* oklch */ color: oklch(76.8% 0.127 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf87',
    500: '#b7bb54',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb54;
$custom-light: #cfcf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb54",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 62.33,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76798,
    "c": 0.12666,
    "h": 111.1
  },
  "luminance": 0.46248
}

Semantic roles & 50–950 ramp

primary
#B7BB54
secondary
#A19FCC
accent
#55D35A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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