#B2BB56#B2BB56

#B2BB56 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.126 H 113.6°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#B2BB56
RGBrgb(178, 187, 86)
HSLhsl(65, 43%, 54%)
HSVhsv(65, 54%, 73%)
CMYKcmyk(4.8%, 0%, 54%, 26.7%)
CIE-LABlab(73.34, -17.34, 49.31)
CIE-LCHlch(73.34, 52.27, 109.37°)
OKLaboklab(76.41% -0.0504 0.1154)
OKLCHoklch(76.41% 0.126 113.6)
XYZxyz(37.8109, 45.6781, 15.6272)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB56 #5F56BB
analogous
#BB9156 #B2BB56 #7FBB56
triadic
#B2BB56 #56B2BB #BB56B2
tetradic
#B2BB56 #56BB91 #5F56BB #BB567F
square
#B2BB56 #56BB91 #5F56BB #BB567F
split-complementary
#B2BB56 #567FBB #9156BB
monochromatic
#666B2B #8F973D #B2BB56 #C6CD82 #DADEAD

Accessibility & contrast

On white

2.07
#B2BB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#B2BB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB56
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB56#FFFFFF#000000##000000
##B2BB561.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34C
Deuteranopia (green-blind)
#C7B55C
Tritanopia (blue-blind)
#BCB1A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb56;
/* rgb */ color: rgb(178, 187, 86);
/* oklch */ color: oklch(76.4% 0.126 113.6);
Tailwind
colors: {
  custom: {
    50: '#cbcf89',
    500: '#b2bb56',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb56;
$custom-light: #cbcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb56",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 65.347,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76413,
    "c": 0.12589,
    "h": 113.6
  },
  "luminance": 0.45678
}

Semantic roles & 50–950 ramp

primary
#B2BB56
secondary
#A5A1CC
accent
#55D261
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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