#B7BB55#B7BB55

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

Color values

HEX#B7BB55
RGBrgb(183, 187, 85)
HSLhsl(62, 43%, 53%)
HSVhsv(62, 55%, 73%)
CMYKcmyk(2.1%, 0%, 54.5%, 26.7%)
CIE-LABlab(73.72, -15.36, 50.32)
CIE-LCHlch(73.72, 52.61, 106.97°)
OKLaboklab(76.81% -0.0452 0.1173)
OKLCHoklch(76.81% 0.126 111.1)
XYZxyz(38.9394, 46.2647, 15.4713)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB55 #5955BB
analogous
#BB8C55 #B7BB55 #84BB55
triadic
#B7BB55 #55B7BB #BB55B7
tetradic
#B7BB55 #55BB8C #5955BB #BB5584
square
#B7BB55 #55BB8C #5955BB #BB5584
split-complementary
#B7BB55 #5584BB #8C55BB
monochromatic
#686B2B #93973C #B7BB55 #CACC81 #DCDEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BB55#FFFFFF#000000##000000
##B7BB551.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)
#C8B44B
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#C2B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bb55;
/* rgb */ color: rgb(183, 187, 85);
/* oklch */ color: oklch(76.8% 0.126 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf88',
    500: '#b7bb55',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb55;
$custom-light: #cfcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb55",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 62.353,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7681,
    "c": 0.12574,
    "h": 111.1
  },
  "luminance": 0.46264
}

Semantic roles & 50–950 ramp

primary
#B7BB55
secondary
#A2A0CC
accent
#55D35A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #B7BB55

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

Preview Lab → · Contrast checker → · Palette generator →

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