#B7BB48#B7BB48

#B7BB48 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.137 H 111.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B7BB48
RGBrgb(183, 187, 72)
HSLhsl(62, 46%, 51%)
HSVhsv(62, 61%, 73%)
CMYKcmyk(2.1%, 0%, 61.5%, 26.7%)
CIE-LABlab(73.60, -16.33, 56.00)
CIE-LCHlch(73.60, 58.33, 106.26°)
OKLaboklab(76.67% -0.0493 0.1278)
OKLCHoklch(76.67% 0.137 111.1)
XYZxyz(38.4695, 46.0767, 12.9968)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BB48 #4C48BB
analogous
#BB8548 #B7BB48 #7DBB48
triadic
#B7BB48 #48B7BB #BB48B7
tetradic
#B7BB48 #48BB85 #4C48BB #BB487D
square
#B7BB48 #48BB85 #4C48BB #BB487D
split-complementary
#B7BB48 #487DBB #8548BB
monochromatic
#616425 #8D9036 #B7BB48 #C9CC75 #DADCA1

Accessibility & contrast

On white

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

On black

10.22
#B7BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BB48
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BB48#FFFFFF#000000##000000
##B7BB481.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bb48;
/* rgb */ color: rgb(183, 187, 72);
/* oklch */ color: oklch(76.7% 0.137 111.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf80',
    500: '#b7bb48',
    950: '#000000',
  },
}
SCSS
$custom: #b7bb48;
$custom-light: #cfcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bb48",
  "rgb": {
    "r": 183,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 62.087,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76674,
    "c": 0.13701,
    "h": 111.1
  },
  "luminance": 0.46076
}

Semantic roles & 50–950 ramp

primary
#B7BB48
secondary
#9896C9
accent
#52D557
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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