#B5BB48#B5BB48

#B5BB48 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.137 H 112.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B5BB48
RGBrgb(181, 187, 72)
HSLhsl(63, 46%, 51%)
HSVhsv(63, 61%, 73%)
CMYKcmyk(3.2%, 0%, 61.5%, 26.7%)
CIE-LABlab(73.44, -17.17, 55.78)
CIE-LCHlch(73.44, 58.37, 107.11°)
OKLaboklab(76.51% -0.0516 0.1274)
OKLCHoklch(76.51% 0.137 112)
XYZxyz(37.9971, 45.8331, 12.9747)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB48 #4E48BB
analogous
#BB8748 #B5BB48 #7BBB48
triadic
#B5BB48 #48B5BB #BB48B5
tetradic
#B5BB48 #48BB87 #4E48BB #BB487B
square
#B5BB48 #48BB87 #4E48BB #BB487B
split-complementary
#B5BB48 #487BBB #8748BB
monochromatic
#606425 #8B9036 #B5BB48 #C7CC75 #D9DCA1

Accessibility & contrast

On white

2.07
#B5BB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B5BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB48
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB48#FFFFFF#000000##000000
##B5BB481.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33A
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#C1B0A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb48;
/* rgb */ color: rgb(181, 187, 72);
/* oklch */ color: oklch(76.5% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#cecf80',
    500: '#b5bb48',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb48;
$custom-light: #cecf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb48",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 63.13,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76508,
    "c": 0.13745,
    "h": 112
  },
  "luminance": 0.45832
}

Semantic roles & 50–950 ramp

primary
#B5BB48
secondary
#9996C9
accent
#52D559
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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