#B4BB2A#B4BB2A

#B4BB2A 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#B4BB2A
RGBrgb(180, 187, 42)
HSLhsl(63, 63%, 45%)
HSVhsv(63, 78%, 73%)
CMYKcmyk(3.7%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.16, -19.20, 66.59)
CIE-LCHlch(73.16, 69.30, 106.08°)
OKLaboklab(76.21% -0.0601 0.1453)
OKLCHoklch(76.21% 0.157 112.5)
XYZxyz(37.0119, 45.4120, 9.0057)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB2A #312ABB
analogous
#BB7A2A #B4BB2A #6BBB2A
triadic
#B4BB2A #2AB4BB #BB2AB4
tetradic
#B4BB2A #2ABB7A #312ABB #BB2A6B
square
#B4BB2A #2ABB7A #312ABB #BB2A6B
split-complementary
#B4BB2A #2A6BBB #7A2ABB
monochromatic
#545714 #84891F #B4BB2A #D0D74C #DDE27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BB2A#FFFFFF#000000##000000
##B4BB2A1.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)
#CAB537
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb2a;
/* rgb */ color: rgb(180, 187, 42);
/* oklch */ color: oklch(76.2% 0.157 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf70',
    500: '#b4bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb2a;
$custom-light: #cecf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb2a",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 62.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76206,
    "c": 0.15723,
    "h": 112.5
  },
  "luminance": 0.45411
}

Semantic roles & 50–950 ramp

primary
#B4BB2A
secondary
#7B76CA
accent
#41E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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