#B4BB3A#B4BB3A

#B4BB3A is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.148 H 112.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#B4BB3A
RGBrgb(180, 187, 58)
HSLhsl(63, 53%, 48%)
HSVhsv(63, 69%, 73%)
CMYKcmyk(3.7%, 0%, 69%, 26.7%)
CIE-LABlab(73.25, -18.46, 61.23)
CIE-LCHlch(73.25, 63.95, 106.77°)
OKLaboklab(76.31% -0.0566 0.1368)
OKLCHoklch(76.31% 0.148 112.5)
XYZxyz(37.3576, 45.5503, 10.8263)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB3A #413ABB
analogous
#BB813A #B4BB3A #73BB3A
triadic
#B4BB3A #3AB4BB #BB3AB4
tetradic
#B4BB3A #3ABB81 #413ABB #BB3A73
square
#B4BB3A #3ABB81 #413ABB #BB3A73
split-complementary
#B4BB3A #3A73BB #813ABB
monochromatic
#5A5E1D #878C2C #B4BB3A #C9CF63 #D9DD92

Accessibility & contrast

On white

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

On black

10.11
#B4BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB3A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB3A#FFFFFF#000000##000000
##B4BB3A1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B225
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#C0B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb3a;
/* rgb */ color: rgb(180, 187, 58);
/* oklch */ color: oklch(76.3% 0.148 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf78',
    500: '#b4bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb3a;
$custom-light: #cecf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb3a",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 63.256,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76308,
    "c": 0.14801,
    "h": 112.5
  },
  "luminance": 0.45549
}

Semantic roles & 50–950 ramp

primary
#B4BB3A
secondary
#8C88C8
accent
#4CDC54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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