#B2BB40#B2BB40

#B2BB40 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.144 H 113.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B2BB40
RGBrgb(178, 187, 64)
HSLhsl(64, 49%, 49%)
HSVhsv(64, 66%, 73%)
CMYKcmyk(4.8%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.14, -18.95, 58.72)
CIE-LCHlch(73.14, 61.71, 107.89°)
OKLaboklab(76.19% -0.0572 0.1325)
OKLCHoklch(76.19% 0.144 113.4)
XYZxyz(37.0568, 45.3765, 11.6559)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB40 #4940BB
analogous
#BB8740 #B2BB40 #75BB40
triadic
#B2BB40 #40B2BB #BB40B2
tetradic
#B2BB40 #40BB87 #4940BB #BB4075
square
#B2BB40 #40BB87 #4940BB #BB4075
split-complementary
#B2BB40 #4075BB #8740BB
monochromatic
#5B6021 #878D30 #B2BB40 #C5CD6C #D7DC99

Accessibility & contrast

On white

2.08
#B2BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B2BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB40
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB40#FFFFFF#000000##000000
##B2BB401.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb40;
/* rgb */ color: rgb(178, 187, 64);
/* oklch */ color: oklch(76.2% 0.144 113.4);
Tailwind
colors: {
  custom: {
    50: '#cccf7b',
    500: '#b2bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb40;
$custom-light: #cccf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb40",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 64.39,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76192,
    "c": 0.14434,
    "h": 113.4
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#B2BB40
secondary
#938FC8
accent
#4FD959
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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