#B2BB51#B2BB51

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

Color values

HEX#B2BB51
RGBrgb(178, 187, 81)
HSLhsl(65, 44%, 53%)
HSVhsv(65, 57%, 73%)
CMYKcmyk(4.8%, 0%, 56.7%, 26.7%)
CIE-LABlab(73.29, -17.75, 51.57)
CIE-LCHlch(73.29, 54.54, 109.00°)
OKLaboklab(76.36% -0.0521 0.1196)
OKLCHoklch(76.36% 0.13 113.5)
XYZxyz(37.6164, 45.6004, 14.6032)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB51 #5A51BB
analogous
#BB8F51 #B2BB51 #7DBB51
triadic
#B2BB51 #51B2BB #BB51B2
tetradic
#B2BB51 #51BB8F #5A51BB #BB517D
square
#B2BB51 #51BB8F #5A51BB #BB517D
split-complementary
#B2BB51 #517DBB #8F51BB
monochromatic
#636929 #8D953A #B2BB51 #C5CC7D #D9DDA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BB51#FFFFFF#000000##000000
##B2BB511.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)
#C7B346
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#BDB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb51;
/* rgb */ color: rgb(178, 187, 81);
/* oklch */ color: oklch(76.4% 0.130 113.5);
Tailwind
colors: {
  custom: {
    50: '#cbcf86',
    500: '#b2bb51',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb51;
$custom-light: #cbcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb51",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 65.094,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76356,
    "c": 0.13049,
    "h": 113.5
  },
  "luminance": 0.456
}

Semantic roles & 50–950 ramp

primary
#B2BB51
secondary
#A19DCB
accent
#54D45F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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