#B4BB2B#B4BB2B

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

Color values

HEX#B4BB2B
RGBrgb(180, 187, 43)
HSLhsl(63, 63%, 45%)
HSVhsv(63, 77%, 73%)
CMYKcmyk(3.7%, 0%, 77%, 26.7%)
CIE-LABlab(73.17, -19.16, 66.29)
CIE-LCHlch(73.17, 69.00, 106.12°)
OKLaboklab(76.21% -0.0599 0.1449)
OKLCHoklch(76.21% 0.157 112.5)
XYZxyz(37.0300, 45.4193, 9.1012)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB2B #322BBB
analogous
#BB7A2B #B4BB2B #6CBB2B
triadic
#B4BB2B #2BB4BB #BB2BB4
tetradic
#B4BB2B #2BBB7A #322BBB #BB2B6C
square
#B4BB2B #2BBB7A #322BBB #BB2B6C
split-complementary
#B4BB2B #2B6CBB #7A2BBB
monochromatic
#545714 #848920 #B4BB2B #CFD64D #DDE27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BB2B#FFFFFF#000000##000000
##B4BB2B1.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)
#CAB200
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb2b;
/* rgb */ color: rgb(180, 187, 43);
/* oklch */ color: oklch(76.2% 0.157 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf71',
    500: '#b4bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb2b;
$custom-light: #cecf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb2b",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 62.917,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76212,
    "c": 0.15674,
    "h": 112.5
  },
  "luminance": 0.45418
}

Semantic roles & 50–950 ramp

primary
#B4BB2B
secondary
#7C78CA
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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