#B2BB3A#B2BB3A

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

Color values

HEX#B2BB3A
RGBrgb(178, 187, 58)
HSLhsl(64, 53%, 48%)
HSVhsv(64, 69%, 73%)
CMYKcmyk(4.8%, 0%, 69%, 26.7%)
CIE-LABlab(73.10, -19.30, 61.02)
CIE-LCHlch(73.10, 64.00, 107.55°)
OKLaboklab(76.14% -0.0588 0.1364)
OKLCHoklch(76.14% 0.149 113.3)
XYZxyz(36.8952, 45.3119, 10.8047)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB3A #433ABB
analogous
#BB833A #B2BB3A #71BB3A
triadic
#B2BB3A #3AB2BB #BB3AB2
tetradic
#B2BB3A #3ABB83 #433ABB #BB3A71
square
#B2BB3A #3ABB83 #433ABB #BB3A71
split-complementary
#B2BB3A #3A71BB #833ABB
monochromatic
#595E1D #868C2C #B2BB3A #C7CF63 #D8DD92

Accessibility & contrast

On white

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

On black

10.06
#B2BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB3A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB3A#FFFFFF#000000##000000
##B2BB3A1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bb3a;
/* rgb */ color: rgb(178, 187, 58);
/* oklch */ color: oklch(76.1% 0.149 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf78',
    500: '#b2bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb3a;
$custom-light: #cccf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb3a",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 64.186,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.14853,
    "h": 113.3
  },
  "luminance": 0.45311
}

Semantic roles & 50–950 ramp

primary
#B2BB3A
secondary
#8D88C8
accent
#4CDC56
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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