#B2BB32#B2BB32

#B2BB32 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.154 H 113.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B2BB32
RGBrgb(178, 187, 50)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 73%, 73%)
CMYKcmyk(4.8%, 0%, 73.3%, 26.7%)
CIE-LABlab(73.05, -19.71, 63.85)
CIE-LCHlch(73.05, 66.83, 107.15°)
OKLaboklab(76.09% -0.0607 0.141)
OKLCHoklch(76.09% 0.154 113.3)
XYZxyz(36.7073, 45.2367, 9.8149)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB32 #3B32BB
analogous
#BB8032 #B2BB32 #6EBB32
triadic
#B2BB32 #32B2BB #BB32B2
tetradic
#B2BB32 #32BB80 #3B32BB #BB326E
square
#B2BB32 #32BB80 #3B32BB #BB326E
split-complementary
#B2BB32 #326EBB #8032BB
monochromatic
#565A18 #848B25 #B2BB32 #CAD258 #DADF88

Accessibility & contrast

On white

2.09
#B2BB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#B2BB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB32
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB32#FFFFFF#000000##000000
##B2BB321.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B216
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb32;
/* rgb */ color: rgb(178, 187, 50);
/* oklch */ color: oklch(76.1% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#cdcf74',
    500: '#b2bb32',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb32;
$custom-light: #cdcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb32",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 63.942,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.15351,
    "h": 113.3
  },
  "luminance": 0.45236
}

Semantic roles & 50–950 ramp

primary
#B2BB32
secondary
#8580C9
accent
#47E151
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BB32

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

Preview Lab → · Contrast checker → · Palette generator →

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