#B8BB48#B8BB48

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

Color values

HEX#B8BB48
RGBrgb(184, 187, 72)
HSLhsl(62, 46%, 51%)
HSVhsv(62, 61%, 73%)
CMYKcmyk(1.6%, 0%, 61.5%, 26.7%)
CIE-LABlab(73.67, -15.91, 56.11)
CIE-LCHlch(73.67, 58.32, 105.83°)
OKLaboklab(76.76% -0.0482 0.128)
OKLCHoklch(76.76% 0.137 110.6)
XYZxyz(38.7083, 46.1998, 13.0080)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB48 #4B48BB
analogous
#BB8448 #B8BB48 #7EBB48
triadic
#B8BB48 #48B8BB #BB48B8
tetradic
#B8BB48 #48BB84 #4B48BB #BB487E
square
#B8BB48 #48BB84 #4B48BB #BB487E
split-complementary
#B8BB48 #487EBB #8448BB
monochromatic
#626425 #8E9036 #B8BB48 #C9CC75 #DBDCA1

Accessibility & contrast

On white

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

On black

10.24
#B8BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB48
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB48#FFFFFF#000000##000000
##B8BB481.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33A
Deuteranopia (green-blind)
#CAB74F
Tritanopia (blue-blind)
#C4B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb48;
/* rgb */ color: rgb(184, 187, 72);
/* oklch */ color: oklch(76.8% 0.137 110.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf80',
    500: '#b8bb48',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb48;
$custom-light: #d0cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb48",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 61.565,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76757,
    "c": 0.1368,
    "h": 110.6
  },
  "luminance": 0.46199
}

Semantic roles & 50–950 ramp

primary
#B8BB48
secondary
#9796C9
accent
#52D556
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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