#B2BB34#B2BB34

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

Color values

HEX#B2BB34
RGBrgb(178, 187, 52)
HSLhsl(64, 56%, 47%)
HSVhsv(64, 72%, 73%)
CMYKcmyk(4.8%, 0%, 72.2%, 26.7%)
CIE-LABlab(73.06, -19.61, 63.17)
CIE-LCHlch(73.06, 66.15, 107.25°)
OKLaboklab(76.1% -0.0602 0.1399)
OKLCHoklch(76.1% 0.152 113.3)
XYZxyz(36.7514, 45.2543, 10.0471)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB34 #3D34BB
analogous
#BB8134 #B2BB34 #6FBB34
triadic
#B2BB34 #34B2BB #BB34B2
tetradic
#B2BB34 #34BB81 #3D34BB #BB346F
square
#B2BB34 #34BB81 #3D34BB #BB346F
split-complementary
#B2BB34 #346FBB #8134BB
monochromatic
#575B19 #848B27 #B2BB34 #C9D15B #D9DF8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB34#FFFFFF#000000##000000
##B2BB341.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)
#C9B21A
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb34;
/* rgb */ color: rgb(178, 187, 52);
/* oklch */ color: oklch(76.1% 0.152 113.3);
Tailwind
colors: {
  custom: {
    50: '#cccf75',
    500: '#b2bb34',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb34;
$custom-light: #cccf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb34",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 64,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76102,
    "c": 0.15233,
    "h": 113.3
  },
  "luminance": 0.45254
}

Semantic roles & 50–950 ramp

primary
#B2BB34
secondary
#8782C9
accent
#48E052
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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