#B2BB42#B2BB42

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

Color values

HEX#B2BB42
RGBrgb(178, 187, 66)
HSLhsl(64, 48%, 50%)
HSVhsv(64, 65%, 73%)
CMYKcmyk(4.8%, 0%, 64.7%, 26.7%)
CIE-LABlab(73.15, -18.83, 57.93)
CIE-LCHlch(73.15, 60.91, 108.00°)
OKLaboklab(76.21% -0.0567 0.1311)
OKLCHoklch(76.21% 0.143 113.4)
XYZxyz(37.1148, 45.3997, 11.9611)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB42 #4B42BB
analogous
#BB8842 #B2BB42 #76BB42
triadic
#B2BB42 #42B2BB #BB42B2
tetradic
#B2BB42 #42BB88 #4B42BB #BB4276
square
#B2BB42 #42BB88 #4B42BB #BB4276
split-complementary
#B2BB42 #4276BB #8842BB
monochromatic
#5C6122 #878E32 #B2BB42 #C5CC6E #D7DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB42#FFFFFF#000000##000000
##B2BB421.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)
#C8B232
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb42;
/* rgb */ color: rgb(178, 187, 66);
/* oklch */ color: oklch(76.2% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#cccf7c',
    500: '#b2bb42',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb42;
$custom-light: #cccf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb42",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 64.463,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.14287,
    "h": 113.4
  },
  "luminance": 0.45399
}

Semantic roles & 50–950 ramp

primary
#B2BB42
secondary
#9591C8
accent
#50D75A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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