#B2BB5A#B2BB5A

#B2BB5A is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.122 H 113.7°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B2BB5A
RGBrgb(178, 187, 90)
HSLhsl(66, 42%, 54%)
HSVhsv(66, 52%, 73%)
CMYKcmyk(4.8%, 0%, 51.9%, 26.7%)
CIE-LABlab(73.38, -16.99, 47.47)
CIE-LCHlch(73.38, 50.42, 109.69°)
OKLaboklab(76.46% -0.049 0.1118)
OKLCHoklch(76.46% 0.122 113.7)
XYZxyz(37.9766, 45.7444, 16.4999)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB5A #635ABB
analogous
#BB945A #B2BB5A #82BB5A
triadic
#B2BB5A #5AB2BB #BB5AB2
tetradic
#B2BB5A #5ABB94 #635ABB #BB5A82
square
#B2BB5A #5ABB94 #635ABB #BB5A82
split-complementary
#B2BB5A #5A82BB #945ABB
monochromatic
#686D2D #90993F #B2BB5A #C6CD85 #DADFB1

Accessibility & contrast

On white

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

On black

10.15
#B2BB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB5A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB5A#FFFFFF#000000##000000
##B2BB5A1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B351
Deuteranopia (green-blind)
#C6B55F
Tritanopia (blue-blind)
#BCB2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bb5a;
/* rgb */ color: rgb(178, 187, 90);
/* oklch */ color: oklch(76.5% 0.122 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbcf8b',
    500: '#b2bb5a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb5a;
$custom-light: #cbcf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb5a",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 90
  },
  "hsl": {
    "h": 65.567,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.12206,
    "h": 113.7
  },
  "luminance": 0.45744
}

Semantic roles & 50–950 ramp

primary
#B2BB5A
secondary
#A8A4CD
accent
#56D162
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2BB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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