#B5BB50#B5BB50

#B5BB50 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.131 H 112.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#B5BB50
RGBrgb(181, 187, 80)
HSLhsl(63, 44%, 52%)
HSVhsv(63, 57%, 73%)
CMYKcmyk(3.2%, 0%, 57.2%, 26.7%)
CIE-LABlab(73.51, -16.59, 52.34)
CIE-LCHlch(73.51, 54.90, 107.59°)
OKLaboklab(76.59% -0.0491 0.1211)
OKLCHoklch(76.59% 0.131 112.1)
XYZxyz(38.2753, 45.9444, 14.4397)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB50 #5650BB
analogous
#BB8B50 #B5BB50 #80BB50
triadic
#B5BB50 #50B5BB #BB50B5
tetradic
#B5BB50 #50BB8B #5650BB #BB5080
square
#B5BB50 #50BB8B #5650BB #BB5080
split-complementary
#B5BB50 #5080BB #8B50BB
monochromatic
#656828 #8F943A #B5BB50 #C8CC7C #DADDA8

Accessibility & contrast

On white

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

On black

10.19
#B5BB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB50
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB50#FFFFFF#000000##000000
##B5BB501.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#C0B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bb50;
/* rgb */ color: rgb(181, 187, 80);
/* oklch */ color: oklch(76.6% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcf85',
    500: '#b5bb50',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb50;
$custom-light: #cdcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb50",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 63.364,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76589,
    "c": 0.13068,
    "h": 112.1
  },
  "luminance": 0.45944
}

Semantic roles & 50–950 ramp

primary
#B5BB50
secondary
#9F9CCB
accent
#54D45B
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5BB50

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

Preview Lab → · Contrast checker → · Palette generator →

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