#B1BA2B#B1BA2B

#B1BA2B 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#B1BA2B
RGBrgb(177, 186, 43)
HSLhsl(64, 62%, 45%)
HSVhsv(64, 77%, 73%)
CMYKcmyk(4.8%, 0%, 76.9%, 27.1%)
CIE-LABlab(72.65, -19.94, 65.74)
CIE-LCHlch(72.65, 68.69, 106.87°)
OKLaboklab(75.74% -0.0619 0.1438)
OKLCHoklch(75.74% 0.157 113.3)
XYZxyz(36.1276, 44.6401, 8.9983)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA2B #342BBA
analogous
#BA7B2B #B1BA2B #6ABA2B
triadic
#B1BA2B #2BB1BA #BA2BB1
tetradic
#B1BA2B #2BBA7B #342BBA #BA2B6A
square
#B1BA2B #2BBA7B #342BBA #BA2B6A
split-complementary
#B1BA2B #2B6ABA #7B2BBA
monochromatic
#525714 #828820 #B1BA2B #CDD64C #DBE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1BA2B#FFFFFF#000000##000000
##B1BA2B1.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)
#C8B438
Tritanopia (blue-blind)
#BDAF9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba2b;
/* rgb */ color: rgb(177, 186, 43);
/* oklch */ color: oklch(75.7% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce71',
    500: '#b1ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba2b;
$custom-light: #ccce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba2b",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 63.776,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75743,
    "c": 0.15654,
    "h": 113.3
  },
  "luminance": 0.44639
}

Semantic roles & 50–950 ramp

primary
#B1BA2B
secondary
#7C77CA
accent
#42E64D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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