#B2BB3B#B2BB3B

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

Color values

HEX#B2BB3B
RGBrgb(178, 187, 59)
HSLhsl(64, 52%, 48%)
HSVhsv(64, 68%, 73%)
CMYKcmyk(4.8%, 0%, 68.4%, 26.7%)
CIE-LABlab(73.10, -19.24, 60.65)
CIE-LCHlch(73.10, 63.63, 107.61°)
OKLaboklab(76.15% -0.0586 0.1358)
OKLCHoklch(76.15% 0.148 113.3)
XYZxyz(36.9209, 45.3222, 10.9399)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB3B #443BBB
analogous
#BB843B #B2BB3B #72BB3B
triadic
#B2BB3B #3BB2BB #BB3BB2
tetradic
#B2BB3B #3BBB84 #443BBB #BB3B72
square
#B2BB3B #3BBB84 #443BBB #BB3B72
split-complementary
#B2BB3B #3B72BB #843BBB
monochromatic
#595E1E #868C2C #B2BB3B #C7CE65 #D8DD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB3B#FFFFFF#000000##000000
##B2BB3B1.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)
#C9B227
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#BEB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb3b;
/* rgb */ color: rgb(178, 187, 59);
/* oklch */ color: oklch(76.2% 0.148 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf79',
    500: '#b2bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb3b;
$custom-light: #cccf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb3b",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 64.219,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76152,
    "c": 0.14786,
    "h": 113.3
  },
  "luminance": 0.45321
}

Semantic roles & 50–950 ramp

primary
#B2BB3B
secondary
#8E8AC8
accent
#4CDB56
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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