#B2BB50#B2BB50

#B2BB50 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.131 H 113.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B2BB50
RGBrgb(178, 187, 80)
HSLhsl(65, 44%, 52%)
HSVhsv(65, 57%, 73%)
CMYKcmyk(4.8%, 0%, 57.2%, 26.7%)
CIE-LABlab(73.28, -17.83, 52.01)
CIE-LCHlch(73.28, 54.98, 108.92°)
OKLaboklab(76.35% -0.0524 0.1205)
OKLCHoklch(76.35% 0.131 113.5)
XYZxyz(37.5792, 45.5855, 14.4071)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB50 #5950BB
analogous
#BB8F50 #B2BB50 #7CBB50
triadic
#B2BB50 #50B2BB #BB50B2
tetradic
#B2BB50 #50BB8F #5950BB #BB507C
square
#B2BB50 #50BB8F #5950BB #BB507C
split-complementary
#B2BB50 #507CBB #8F50BB
monochromatic
#636828 #8D943A #B2BB50 #C5CC7C #D9DDA8

Accessibility & contrast

On white

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

On black

10.12
#B2BB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB50
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB50#FFFFFF#000000##000000
##B2BB501.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#BDB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb50;
/* rgb */ color: rgb(178, 187, 80);
/* oklch */ color: oklch(76.3% 0.131 113.5);
Tailwind
colors: {
  custom: {
    50: '#cbcf85',
    500: '#b2bb50',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb50;
$custom-light: #cbcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb50",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 65.047,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.13138,
    "h": 113.5
  },
  "luminance": 0.45585
}

Semantic roles & 50–950 ramp

primary
#B2BB50
secondary
#A09CCB
accent
#54D45F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB50

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

Preview Lab → · Contrast checker → · Palette generator →

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