#B1BA2A#B1BA2A

#B1BA2A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.157 H 113.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B1BA2A
RGBrgb(177, 186, 42)
HSLhsl(64, 63%, 45%)
HSVhsv(64, 77%, 73%)
CMYKcmyk(4.8%, 0%, 77.4%, 27.1%)
CIE-LABlab(72.65, -19.98, 66.04)
CIE-LCHlch(72.65, 68.99, 106.83°)
OKLaboklab(75.74% -0.0621 0.1443)
OKLCHoklch(75.74% 0.157 113.3)
XYZxyz(36.1094, 44.6329, 8.9029)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA2A #332ABA
analogous
#BA7B2A #B1BA2A #69BA2A
triadic
#B1BA2A #2AB1BA #BA2AB1
tetradic
#B1BA2A #2ABA7B #332ABA #BA2A69
square
#B1BA2A #2ABA7B #332ABA #BA2A69
split-complementary
#B1BA2A #2A69BA #7B2ABA
monochromatic
#525613 #81881F #B1BA2A #CED64B #DBE27D

Accessibility & contrast

On white

2.12
#B1BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B1BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BA2A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BA2A#FFFFFF#000000##000000
##B1BA2A1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C8B437
Tritanopia (blue-blind)
#BDAF9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba2a;
/* rgb */ color: rgb(177, 186, 42);
/* oklch */ color: oklch(75.7% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce70',
    500: '#b1ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba2a;
$custom-light: #ccce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba2a",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 63.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75738,
    "c": 0.15704,
    "h": 113.3
  },
  "luminance": 0.44632
}

Semantic roles & 50–950 ramp

primary
#B1BA2A
secondary
#7B76CA
accent
#42E64C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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