#B2BB48#B2BB48

#B2BB48 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.138 H 113.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#B2BB48
RGBrgb(178, 187, 72)
HSLhsl(65, 46%, 51%)
HSVhsv(65, 61%, 73%)
CMYKcmyk(4.8%, 0%, 61.5%, 26.7%)
CIE-LABlab(73.20, -18.43, 55.46)
CIE-LCHlch(73.20, 58.44, 108.38°)
OKLaboklab(76.26% -0.0549 0.1268)
OKLCHoklch(76.26% 0.138 113.4)
XYZxyz(37.3010, 45.4742, 12.9421)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB48 #5148BB
analogous
#BB8A48 #B2BB48 #78BB48
triadic
#B2BB48 #48B2BB #BB48B2
tetradic
#B2BB48 #48BB8A #5148BB #BB4878
square
#B2BB48 #48BB8A #5148BB #BB4878
split-complementary
#B2BB48 #4878BB #8A48BB
monochromatic
#5F6425 #899036 #B2BB48 #C5CC75 #D8DCA1

Accessibility & contrast

On white

2.08
#B2BB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#B2BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB48
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB48#FFFFFF#000000##000000
##B2BB481.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bb48;
/* rgb */ color: rgb(178, 187, 72);
/* oklch */ color: oklch(76.3% 0.138 113.4);
Tailwind
colors: {
  custom: {
    50: '#cccf80',
    500: '#b2bb48',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb48;
$custom-light: #cccf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb48",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 64.696,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.13818,
    "h": 113.4
  },
  "luminance": 0.45474
}

Semantic roles & 50–950 ramp

primary
#B2BB48
secondary
#9A96C9
accent
#52D55D
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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