#B2BB3C#B2BB3C

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

Color values

HEX#B2BB3C
RGBrgb(178, 187, 60)
HSLhsl(64, 51%, 48%)
HSVhsv(64, 68%, 73%)
CMYKcmyk(4.8%, 0%, 67.9%, 26.7%)
CIE-LABlab(73.11, -19.19, 60.27)
CIE-LCHlch(73.11, 63.25, 107.66°)
OKLaboklab(76.16% -0.0583 0.1351)
OKLCHoklch(76.16% 0.147 113.3)
XYZxyz(36.9471, 45.3326, 11.0779)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB3C #453CBB
analogous
#BB843C #B2BB3C #72BB3C
triadic
#B2BB3C #3CB2BB #BB3CB2
tetradic
#B2BB3C #3CBB84 #453CBB #BB3C72
square
#B2BB3C #3CBB84 #453CBB #BB3C72
split-complementary
#B2BB3C #3C72BB #843CBB
monochromatic
#5A5E1E #868D2D #B2BB3C #C7CE66 #D8DD95

Accessibility & contrast

On white

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

On black

10.07
#B2BB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB3C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB3C#FFFFFF#000000##000000
##B2BB3C1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B229
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#BEB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb3c;
/* rgb */ color: rgb(178, 187, 60);
/* oklch */ color: oklch(76.2% 0.147 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf79',
    500: '#b2bb3c',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb3c;
$custom-light: #cccf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb3c",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 64.252,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7616,
    "c": 0.14718,
    "h": 113.3
  },
  "luminance": 0.45332
}

Semantic roles & 50–950 ramp

primary
#B2BB3C
secondary
#8F8BC8
accent
#4DDB57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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